in reply to Re: Altering SQL code from Update to Insert
in thread Altering SQL code from Update to Insert
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Altering SQL code from Update to Insert
by ikegami (Patriarch) on Dec 11, 2004 at 18:53 UTC |