i have a form with x number of textfields, when the user selects load, i need to fill in the textfields with the data from the database. how would i go about doing the load???
I'm not sure what you mean with "user selects load" but I think it should be farily easy. Make a call to the database and populate the value of the textfield with your database data.
Do you mean a simple mysql query? Sounds really basic, but I'm bored. <?php // Connect to mysql and database $query=mysql_query("select field from table"); while($row=mysql_fetch_array($query)){ $field=$row['field']; } ?> <input type="text" value="<?=$field?>"> PHP: