Page 1 of 1
i want to create an edit facility
Posted: Mon Mar 29, 2004 9:39 am
by nutstretch
I want to be able to output the results of a search into text boxes to edit and then save the changes. How do i get the results into text boxes rather than just a table displaying the results?
Any help appresiated
Posted: Mon Mar 29, 2004 10:09 am
by amithn12
Create how many text boxes u need, and the sustitue the values of the search u r performing into the text boxes, give the value of the text field to the search value
ex: value = <?=$value1?>
Posted: Mon Mar 29, 2004 12:42 pm
by lostboy
create a form outline that accomadates the needs of your application. Then in each input box use the value attribute to set the value:
<input type=text name="$somename" value="$myDBValue">
Posted: Mon Mar 29, 2004 1:34 pm
by nutstretch
Thanks that works great