The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Get ID from link Re: Get ID from link


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';

And you can optionally not use that single quote there because numbers don’t need to be quoted.