PHP updateFromVals

/ Published in: PHP
Save to your folder(s)

Here is a small function that I use to update records in a database.

It coincides with the insertFromPost function that I have posted earlier.

The element names in the form need to have the same name as in the DB and the field names should all have a sort of prefix ex, auto_ user_ survey\_taker\_, etc...


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.