[SOLVED] Add to mysql table
Posted: Tue Sep 14, 2004 7:58 am
Hi all,
Im trying to add to a specifc mysql table colom but cant seem to get it right.
IE:
To me this says insert into the table "registration" in a colom called Confirm The Word Yes But only into the one where the username matches(which is what i am trying to do). But niether of these seem to work for me.
Any Ideas ?
Im trying to add to a specifc mysql table colom but cant seem to get it right.
IE:
Code: Select all
$confirm = $query="insert into registration SET Confirm='Yes' Username='$UserName'";
$confirm = $query="UPDATE registration SET Confirm='Yes' Username='$UserName'";Any Ideas ?