How exactly would I get the URL with PHP so I could do this:
profile.php?username=Blah
How would I get the 'Blah' from the username= part by using PHP?
How exactly would I get the URL with PHP so I could do this:
profile.php?username=Blah
How would I get the 'Blah' from the username= part by using PHP?
In PHP there are global variables that hold parameters passed on the url or by posting a form. Some of this variables are $_GET, $_POST, $_REQUEST, $_FILES.
<?php
$username = $_GET['username']
echo $username;
You can read more on superglobal variables here: http://www.php.net/manual/en/language.variables.superglobals.php