Okay, this might be a basic question.
Here is my code:
<?php $pageid = $_GET[page_id]; ?>
And then:
<a href="" <?php if($pageid == '2' OR $pageid == '9') { echo...
So this makes it so that if they are on page ID 2 or 9, then it will echo a message. Now what I want to do is that I want to add index.php as one of those pages. But index.php does not have a page id. So I want <?php if($pageid == '2' OR $pageid == '9' OR index.php) { echo...
How the heck do I do that? Just placing the filename wont work obviously.
If
index.phphas nopageid, then simply put yourif()to…<?php if($pageid == '2' || $pageid == '9' || !isset($_GET['page_id'])) { echo...