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