I have two PHP scripts. The first displays an HTML page based on a variable (noob.php?id=2). It has a form in it, and sends the data to the second script (not displayed to the user) which updates a database based on the given info. However, I need the “id” variable from the URL. I’ve tried using the $_GET['id'] function, but get an undefined index error.
I have two PHP scripts. The first displays an HTML page based on a
Share
In the form on the first page add: