Home › Forums › Back End › Get ID from link › Re: Get ID from link
December 30, 2011 at 8:58 am
#93707
angelazou
Participant
In both cases, you are looking for the content of the ID variable held in the GET superglobal variable. This means your code in index.php should look like this instead:
switch($_GET) {
case '1':
$load_content = $prefix.'blocks/single_axle.php';
break;
}
?>
And you can optionally not use that single quote there because numbers don’t need to be quoted.