$originalposter = 'onlyme';
echo "This Report is on [$originalposter]<BR><BR>";
$sqlResource = mysql_query('SELECT `n_id`, `time`, `admin`,`changes`,`to`,`from` FROM `admin_logging` WHERE orig_poster = $originalposter ORDER BY `time` DESC LIMIT 0, 500');
while($sqlRow = mysql_fetch_row($sqlResource)){
The error I get:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/public_html/admin/editlog2.php on line 18
Any help will be very much appreciated.
Thanks