|
Posted by Jonathan N. Little on 10/07/49 11:39
John Salerno wrote:
> Mark Parnell wrote:
>
>> Deciding to do something for the good of humanity, John Salerno
>> <johnjsal@NOSPAMgmail.com> declared in alt.html:
>>
>>> I'd rather use a PHP include to insert this markup on each page, but
>>> how would I do that and also be sure that the proper element gets the
>>> id?
>>
>>
>> Didn't you ask that the other day? Or was it someone else?
>>
>> <li<?php if(basename($_SERVER['PHP_SELF']) == 'location.php') {print('
>> id="uberlink"');} ?>>Home</li>
>>
>
> Yeah, I asked a similar question but I guess I don't know enough about
> PHP to really get this yet. I'll have to do some research on the line of
> code you gave above.
http://www.php.net/docs.php
PHP: Documentation
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|