Jump to content

Update MySQL database with PHP


NoMansLand

Recommended Posts

Get rid of that last comma, right before the WHERE clause.

 

Other than that your syntax looks correct.

 

Are you echoing out $sql to ensure you have the correct values?

 

Are you using or die(msyql_error()) at the end of your query execution?

 

If these don't work we need all the relevant code...

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.