Hi,
I need a little help building a PHP script.
I'm not sure how to explain this, so I hope you will understand anyway 🙂
When a user is forwarded to a specified page, for instance to http://www.mydomain.com/form.php?name=john?surname=williams from a form, I want to have two values assigned to the name-querystring.
With name, there should be a full name and an ID assigned, and with surname only a name is needed, so that will be:
$surname = $_GET['surname'];
But I need help with the name-querystring with two values. (Both a name and an ID number should be assigned to $_GET['name'];)
I then want this information to be displayed on the current page. In the above example it should say
Name: John Williams
ID: 1234