I have a website where the user should enter info regarding student in an html form. once this form is validated the data is saved in a MySql database.
I am trying to give the user the possibility to update his rcords. Meaning Once the user logon, and the logon is right, a Mysql query is executed to select all the info.
I want to display the data from that query in the same html form that was used to enter the data at the beginning.
thanks
display a query in the form that was used ti enter the data
Moderator: General Moderators
-
phpDVWeaver
- Forum Commoner
- Posts: 28
- Joined: Sun Apr 29, 2007 11:00 pm
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Code: Select all
<input type="text" name="studentName" value="<?php echo $studentName;?>">