Forum Moderators: open
Does anybody have any ideas on what could be causing this?
$q = "SELECT * FROM table ORDER BY `date` DESC";
exit("$q"); // script stops here, copy the statement from the browser
$r = mysql_query($q, $db);
while ($result = mysql_fetch_object($r)) {
// print ...
}