I have successfully been able to create a form (HTML) inserting editable student data using a query string (In a function). The problem I'm having is if the validation fails all my data in my query string disappears, then I get undefined indexes where the values where. Correct me if I'm wrong but I think the problem lies with my form action as it is "edit_student_details.php" where my query string for that specific student is completely different. Is there a way to perhaps refresh the page/disable the forms submit button if validation fails so it doesn't loose the query string? I hope I make sense lol
A word to the wise ain't necessary - it's the stupid ones that need the advice.