View previous topic :: View next topic |
Author |
Message |
hpskid -
Joined: 03 Jul 2004 Posts: 4
|
Posted: Fri Jul 09, 2004 3:06 am Post subject: Error 200 |
|
|
I've been having trouble with mysql_fetch_array(), telling me that it's not a valid result resource or whatever. But when I fix that error, the page loads for a long time and then gives me an Error 200, below that saying "OK". What's the deal? Thanks in advance for the help!
BTW, I have register_globals set to ON. |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Jul 09, 2004 9:15 am Post subject: |
|
|
A quick search of the forum would have revealed that Error 200 means that your script has executed with no errors, but there is nothing to output to the browser. |
|
Back to top |
|
 |
hpskid -
Joined: 03 Jul 2004 Posts: 4
|
Posted: Fri Jul 09, 2004 3:59 pm Post subject: |
|
|
Thank you! |
|
Back to top |
|
 |
00squeaky -
Joined: 11 May 2004 Posts: 60
|
Posted: Mon Jul 12, 2004 10:47 pm Post subject: |
|
|
alos, as an amendment, mysql_fetch_array is a pretty useless function, use mysql_fetch_assoc() instead. it works a whole lot better, and it is easier to use ;)
also, to fix the error, put a bit of output at the end of the php code, like this:
Code: |
<?php
//blah, blah blah
?>
<a href=index.php>return to home</a> |
_________________ Languages mastered:
HTML,GML,C,PHP,MYSQL (not really a language, but wtf) |
|
Back to top |
|
 |
|