Dear,
I am new to PHP and MySQL.
I have a simple order form on my site: 1 column with "member" and one with "comment".
I am able to Insert rows when a user submits the form.
But when a user wants to modify that data, the form inserts another row - no good.
I want the returning user, to be able to their UPDATED record - not INSERTED again.
I can detect if they have previously submitted an record to the MySQL:
if(mysql_num_rows($replacing) !== 0);
{
echo "You have already submitted an order, you may modify this.";
I am stuck now, please help.
Thanks in advance,
Leech