function getData($sqlconn)
{
    $res = $sqlconn->complexQuery("Select", "SELECT * FROM Mixes WHERE Published = 'yes'", 'Mixes');
    //return($res);
    $theData = addTimesLoaded($res, $sqlconn);
    return $theData;
}
Beispiel #2
0
function getData($theuser, $sqlconn)
{
    $res = $sqlconn->complexQuery("Select", "SELECT * FROM Mixes WHERE Owner = '{$theuser}'", 'Mixes');
    //return($res);
    $theData = addTimesLoaded($res, $sqlconn);
    return $theData;
}