RE: [PHP] populating textboxes list boxes from database fields

2002-04-30 Thread John Holmes
Pull your data from the database, assign it to a variable, and echo it's value to the text box. input type='text' name'whatever' value='?=$DB_Row[Column]?' For drop down boxes, it's a little different. You have to check each value to see if it equals your DB value, and if it does, echo

Re: [PHP] populating textboxes list boxes from database fields

2002-04-30 Thread Justin French
If you're familiar with getting data out of a table, then I don't believe you really need any examples. Consider the following over view or what you might do with a CD store: Get a product row from a data base into an array. it might look something like: $myrow[id] (55) $myrow[artist] (Nine