Im tying to populate my form with data from my database by on a search.
Basically It’s Like this,
**Search Page**
-The will be a searching form here where I will input the primary key. Lets say Im Using Last Name-
**End Search Page**
**Form Editing Page**
Here I want the form to be populated with data that is on the same row with my Primary Key.
**End Form Editing Page**
I can take care of the HTML but for the Logic and PHP part Im quite lost.
For form editing page : Before html starts do the query using php and my sql, and store the query results to php variables.Then using
value=<?php echo $queryresult?>you can display the values.P.S post the userid to this page. Do the query based on the post variable.