I have a page mydomain.com that by default does
<?php
{include("events.inc");}
?>
Now this page is dynamically generated. The entries that come up are links. example: mydomain.com/index.php?event_id=34
I also want to have links to other static pages, but just change the events.inc part to something else. Like a href=mydomain.com/index.php?insertrecord
(if this is the best way to even do that)
So I need mydomain.com page to do something like this
<?php
if (mydomain.com/index.php?event_id=??){include event.inc;}
if (mydomain.com/index.php?insertrecord){include insert.inc;}
else {include events.inc;}
How do I do something like this?