hi dear
i get a error in staff log action
in this 2 action not work
report for
1»Posts
2»Topics
1»Posts its give error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/mysite.info/mcppl.php on line 314
314 lin is bold
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, text, tid, uid, dtpost FROM ibwf_posts WHERE reported='1' ORDER BY dtpost DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item = mysql_fetch_array($items))
{
$poster = getnick_uid($item[3]);
2»Topics gives error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/mysite.info/mcppl.php on line 446
446 line is bold
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, name, text, authorid, crdate FROM ibwf_topics WHERE reported='1' ORDER BY crdate DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item = mysql_fetch_array($items))
{
$poster = getnick_uid($item[3]);
m unbale to short out tel me where is error ?
i get a error in staff log action
in this 2 action not work
report for
1»Posts
2»Topics
1»Posts its give error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/mysite.info/mcppl.php on line 314
314 lin is bold
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, text, tid, uid, dtpost FROM ibwf_posts WHERE reported='1' ORDER BY dtpost DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item = mysql_fetch_array($items))
{
$poster = getnick_uid($item[3]);
2»Topics gives error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/mysite.info/mcppl.php on line 446
446 line is bold
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, name, text, authorid, crdate FROM ibwf_topics WHERE reported='1' ORDER BY crdate DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item = mysql_fetch_array($items))
{
$poster = getnick_uid($item[3]);
m unbale to short out tel me where is error ?
Comment