OK this might be easy but hey I am a newbie
I have a php page called dbAlpha.php and I create a form in HTML. I then open up a database using php. Pull data from the form to run a query and diplay the results. I do this by using the post action in the form and calling the same dbAlpha.php file. It is now ready to input the next fields of the form for the next query.So far so good. Now I want to update the fields of the form with the last data entered in them so that if only slight changes are needed the user does not have to re-enter all of the data again.
an example:
TEXTBOX 1 called name is blank
user enters data
TEXTBOX 1 now equals equals Jeff
SUBMIT is pressed
the first name is used to find the last name in my database and printouts out both
first and last
new page is load via post function
page now displays
TEXTBOX 1 is now empty
and Jeff Janes is displayed
I want it to be as follows hwen the submit button is pressed
TESTBOX 1 equals Jeff
and Jeff Janes is displayed
so now user can simply add 'rey' to Jeff in the TEXTBOX and hit submit to look for names matching Jeffrey instead of retyping the entire entry
Please note this is an simple example if you want to see my actual example use this link
http://www.janesworld.com/vcoc/dbAlpha.php
Can this be done????
REMEMBER the form part is actually in HTML and the database part is in php
Thanks for your help
Jeff