Click to See Complete Forum and Search --> : Creating an admin section


scottyrob
02-26-2006, 03:45 PM
Hi folks
How would i go about creating an admin page for my DB... i.e lots of text fields, with the information from the database already in the text fields ready to edit and when i submit it changes the data in the DB...

Fet

Leipe_Po
02-26-2006, 04:11 PM
nice, but think your better of with phpmyadmin....

welsh
02-26-2006, 04:51 PM
use php to call the data from the specific parts and insert it into the text fields, then have a submit button that inserts that data back into where it came from.

scottyrob
02-27-2006, 11:04 AM
Hi, how would i go about echoing text into a text box? is this how i would do it though? echo text into a text box, edit it, then have the submit button change the info in the database?

Fet

welsh
02-27-2006, 02:09 PM
<input name="textfield" type="text" value="<?php echo $variable ?>" />
that would show it, then have the submit button retake that info and run an update query.