Jump to content

problem with the sql


firedrop84

Recommended Posts

Hi everyone,

I am using PHP, MySQL and Apache. I have coding some pages after I finished them and test them through localhost I didnt had any errors with them.

I decided after that to uploaded into my server (on internet) and I had lots of warrning massages and lots or most of the pages that is related with the database it shows me a warrining massage.

below is an example of a warring massage that displays
Warning: mysql_query(): Unable to save result set in C:\Inetpub\vhosts\getonlinesystem.com\httpdocs\new\MyAccount.php on line 23

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\getonlinesystem.com\httpdocs\new\MyAccount.php on line 25


the same page with the same code it works on localhost. When I test it on localhost or when I host it on the server I use the same database.

can anyone give me an idea why its doing this is it because of different version or which reason it could be.
Link to comment
https://forums.phpfreaks.com/topic/26370-problem-with-the-sql/
Share on other sites

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.