PDA

View Full Version : PHP code to retrieve search results



GeordieD
01-16-2009, 11:50 AM
Hi Folks

Just joined forum and looking for some help please. I am very new to php and I have managed to create a members area which is accessed via PHP/MySQL after they have registered their details and confirmed via email link. Quite proud this all works fine, however I am starting to get requests to update their info so my question....

"How can I create an 'Edit profile' option whereby once they are logged in they can retrieve and update their own information they supplied at the point of registration?"

The registration form populates 14 fields in the database, ie name, email address etc.

Be gentle as I am still learning this as I go :D

Nile
01-16-2009, 10:02 PM
Try the update command of myself(look at the following links).
http://www.tizag.com/mysqlTutorial/mysqlupdate.php
http://dev.mysql.com/doc/refman/5.0/en/update.html
http://www.w3schools.com/php/php_mysql_update.asp
http://php.about.com/od/learnmysql/ss/mysql_data_2.htm
http://www.webdevelopersnotes.com/tutorials/sql/my_sql_tutorial_updating_records.php3