-
mysql error
If wrong section please move.
Lines 76 - 87
PHP Code:
$fetch2 = mysql_query("SELECT * FROM `threads` WHERE `thr_id` = '$_GET[id]' ORDER BY `id` DESC");
while ($thread = mysql_fetch_array($fetch2))
{
$threadtitle = "$thread[title]";
$bbctt1 = BBCODE($threadtitle);
$oopers = mysql_query("SELECT * FROM `posts` WHERE `thr_id` = '$thread[id]' ORDER BY `id` DESC LIMT 0, 1");
$poper = mysql_fetch_array($oopers);
if($thread[sticky] == Yes)
{
Error:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/****/public_html/joyfreak/forum.php on line 84
Line 84
PHP Code:
$poper = mysql_fetch_array($oopers);
Any suggestions?
Thanks
Moved by Agesilaus (Forum Moderator) from Design & Development: Please post in the correct forum next time. :)
-
Nevermind, Sorted
Thread Closed