Jump to content

Ignoring unchanged values when updating a table


Maracles

Recommended Posts

I have a form and when the user clicks the submit form it updates the values into my database. Unfortunately at the moment if the user leaves a field blank then it updates the related field in the database with '0' rather than leaving the value unchanged as I want.

 

How can I make sure that if fields on my form aren't updated the correlating values in the database do not update?

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.