in my page (rm2k.php)this is the only php script I have:
And when, for instance I click on a link that looks like: <a href="rm2k.php?page=1>link</a> the file (main.php) does not show up. what am I doiing wrong?
PHP:
<?php
if ($page == "1")
{include ('./rm2k/main.php');}
elseif ($page == "2")
{include ('./rm2k/games.php');}
elseif ($page == "3")
{include ('./rm2k/tut.php');}
elseif ($page == "4")
{include ('./rm2k/prog.php');}
elseif ($page == "5")
{INCLUDE ('./rm2k/gfx.php');}
elseif ($page == "6")
{include ('./rm2k/music.php');}
?>
And when, for instance I click on a link that looks like: <a href="rm2k.php?page=1>link</a> the file (main.php) does not show up. what am I doiing wrong?