hi david,
i can still remember a hack from you about showing a specific text if index.php is used but i cant seem to search for it in the forum.
this can be used to add some text on the homepage only.
what is the specific code for this?
thanks in advance.
Hi,
If you don't want to edit index.php itself, you can use something like this:
<?php
switch($_SERVER["PHP_SELF"])
{
case "/index.php":
?>
.....HTML TO BE SHOWN ON index.php HERE....
<?php
break;
}
?>
Cheers,
David.