I have a html form where I take all the user data and then insert/edit in the database. Then I also have a search button which shows all the available entries in the database. Problem is, when I click on a particular entry,I want all it's data in the form..in an editable format..how can I do it?? I tried storing all data in session variables and then redirecting it to the main page containing the form then assigning session variables to respective form field,but it's not working (as it says undefined when you first load the page).
https://i.stack.imgur.com/usyUf.png this image shows the error when I first load the form...all help appreciated!
PS- I did use session_start() at the beginning!