It is one page with different actions, or get requests.
http://php.net/manual/en/reserved.variables.get.php
Basically anything after ? is the variable name, anything after the = is what thait variable contains if you want two variables use &.
So http://site.com/this.php?a=1&b=2
and to call those
Code:
$a = $_GET['a'];
$b = $_GET['b'];
echo "a= $a <br /> b = $b";
This should output:
a=1
b=2
unless I typed something wrong you also may want to use isset (http://php.net/manual/en/function.isset.php) so you aren't calling variables that have been set/used.
Corrections to my coding/thoughts welcome.
Bookmarks