2008-12-14, 03:05 AM
Can be done like this:
<?php
if($_GET[id] == "1") {
echo "you have clicked the link that says page1, congrads.";
} elseif($_GET[id] == "2") {
echo "you have chosen the link that says page2, cool!";
}
?>
I'm trying to get it to work with other things other then one...like page and chapter...not sure if it can be done.