Diffrent servers, diffrent problems
Posted: Thu Oct 23, 2003 7:48 pm
Hi...
I have this query running...
It works fine on my server, but as soon as I test it on someone elses server I get mysql errors
I changed it to 30 as a test and it worked...
Do you know what the diffrence is in servers and why it works on mine and not his, I need to get it sorted..thx
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());