Error 200

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
hpskid
-


Joined: 03 Jul 2004
Posts: 4

PostPosted: Fri Jul 09, 2004 3:06 am    Post subject: Error 200 Reply with quote

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 View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri Jul 09, 2004 9:15 am    Post subject: Reply with quote

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 View user's profile Send private message
hpskid
-


Joined: 03 Jul 2004
Posts: 4

PostPosted: Fri Jul 09, 2004 3:59 pm    Post subject: Reply with quote

Thank you!
Back to top View user's profile Send private message
00squeaky
-


Joined: 11 May 2004
Posts: 60

PostPosted: Mon Jul 12, 2004 10:47 pm    Post subject: Reply with quote

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
?>
&nbsp;
<a href=index.php>return to home</a>

_________________
Languages mastered:
HTML,GML,C,PHP,MYSQL (not really a language, but wtf)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group