$querytxt = "SELECT code FROM mod_phpcode WHERE pageid = ? AND location = ? "; if (($pQuery = mysqlQuery($db, $querytxt, [$pageid, $moduleLocation], 'is')) && ($row=mysqlFetchAssoc($db, $pQuery)) && ($row["code"]!='')) { if (ob_get_length()>0) ob_flush(); ob_start(); eval(trim($row["code"])); if (ob_get_length()>0) $modOut = ob_get_contents(); ob_end_clean(); } $querytxt = "SELECT code FROM mod_phpcode WHERE pageid = ? AND location = ? "; if (($pQuery = mysqlQuery($db, $querytxt, [$pageid, $moduleLocation], 'is')) && ($row=mysqlFetchAssoc($db, $pQuery)) && ($row["code"]!='')) { if (ob_get_length()>0) ob_flush(); ob_start(); eval(trim($row["code"])); if (ob_get_length()>0) $modOut = ob_get_contents(); ob_end_clean(); }