Jump to content

MYSQL not giving any errors, but also not inserting into the database.


c_olin

Recommended Posts

I maintain a simple PHP script that inserts data into a MYSQL database.  For some reason the script stopped working.  It can connect to and access the database, but whenever I try to insert data, it simply will not insert it.  It also does not give me any error.  I also had a C# program that did the same thing, which also stopped working. 

 

So apparently the admin of the MYSQL server I'm accessing changed something.  I just don't understand what could have been changed since I can still log in and retrieve data from the database, but not be able to insert data.

 

My boss wants me to get the script up and running again, but I don't see what I can do.

 

Any ideas?

If your code had some error checking and error reporting logic, it would probably tell you why it stopped working.

 

Post your code and someone will tell you what to add to it to get it to tell you what the problem is.

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.