Page is a not externally linkable
matthewamzn - 4:24 pm on Oct 4, 2007 (gmt 0)
$thispage="Home"; The downside is each page has to be assigned a value for $thispage. Could this be done automatically somehow with just php?
I couldn't get the javascript to work, but I did find a way with php:
<html>
<style>
#currentpage {
text-decoration:underline;
}
</style>
<body>
<ul><li
<?php
if ($thisPage=="Home")
echo " id=\"currentpage\"";?>>
<a href="#">Home</a>
</li></ul>
?>
</body>
</html>
------------------------