View Full Version : Editting and replacing selected data in MySQL

12-05-2007, 12:00 AM
I am trying to make account options for my site. I don't know how to have it so that the user can change their options. I only know how to select, insert, and delete.
I don't know the script to do this so if someone could provide the whole thing so that I can learn what is going on. Thanks

12-05-2007, 12:13 AM
Have a look at the following:


Hope this helps.

12-05-2007, 02:14 PM
I wouldnt' give the user delete permissions. there is no confirmation, and the only "restore" is if you created a backup

so if you do decide to create some type of delete functionality for your site make sure its limited, and before you even delete something double check thats what you want to delete.

DELETE FROM table WHERE condition;