Update and Insert simultaneously
Posted: Mon Feb 16, 2009 1:44 pm
Is there a way to update and insert at the same time?
What I'm trying to do is allow users to edit some information, and a part of the editing might be to add additional information.
I'm using an if(isset) to check the _POST if there is any information there. The problem is that if I add something to the info, it takes the last set of data and overwrites the original piece of data.
If anyone has any ideas, I'd greatly appreciate it.
Thanks,
w.
What I'm trying to do is allow users to edit some information, and a part of the editing might be to add additional information.
I'm using an if(isset) to check the _POST if there is any information there. The problem is that if I add something to the info, it takes the last set of data and overwrites the original piece of data.
If anyone has any ideas, I'd greatly appreciate it.
Thanks,
w.