Ini
01-01-2008, 09:54 PM
If wrong section please move.
Lines 76 - 87
$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:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/****/public_html/joyfreak/forum.php on line 84Line 84
$poper = mysql_fetch_array($oopers);Any suggestions?
Thanks
Moved by Agesilaus (Forum Moderator) from Design & Development: Please post in the correct forum next time. :)
Lines 76 - 87
$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:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/****/public_html/joyfreak/forum.php on line 84Line 84
$poper = mysql_fetch_array($oopers);Any suggestions?
Thanks
Moved by Agesilaus (Forum Moderator) from Design & Development: Please post in the correct forum next time. :)