This looks nice, especially if it does what I think it should. Currently, the scenario I need this for is when I want to allow someone to update ( UPDATE) a record through an HTML form, as opposed to entering it for the first time in the form (INSERT). I redirect passed on a hidden field in my form that is set to edit or new.
My question is: where does $exist come from in your prepare statement? Thanks.
In reply to Re^2: Altering SQL code from Update to Insert
by bradcathey
in thread Altering SQL code from Update to Insert
by AFritz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |