Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.