Jump to content

Fire fox not showing errors


TheUnknown

Recommended Posts

I wasn't sure where to post this :(

I added some code to one of my scripts and everything seemed to be working fine when i viewed the php file  in FF2

The page was actually active at my site for 2 weeks before i found out IE explorer users was getting this error at the top of their page

 

 

Warning: mysql_fetch_array(): supplied argument is 
not a valid mysql result resource in

 

Was just wondering why FF didn't show this error

 

 

Link to comment
https://forums.phpfreaks.com/topic/83930-fire-fox-not-showing-errors/
Share on other sites

It is likely that your submit form has a HTML error and one browser is ignoring the error and submitting the data while the other browser does not fully render the form and when it is submitted the data is not sent.

 

Your code is also not checking if the mysql_query() failed due to the resultant syntax error in the query statement and is blindly continuing execution, giving the error.

 

You need to fix/validate your form code and add some error checking logic to your mysql_query() statement.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.