I have this query running...
Code: Select all
$query = mysql_query("SELECT time, tid, pid FROM $forumzDB.forumz_posts WHERE time > ".$user_properties['last_visit']." ORDER BY pid DESC");Code: Select all
1 member & 0 guest online :
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/sdb1/wfnetwor/public_html/Gaming/index.php on line 76
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /mnt/sdb1/wfnetwor/public_html/Gaming/index.php on line 77
No new postsCode: Select all
$query = mysql_query("SELECT time, tid, pid FROM $forumzDB.forumz_posts WHERE time > 30 ORDER BY pid DESC") or die(mysql_error());