You are here: Re: another stumbling block « HTML « IT news, forums, messages
Re: another stumbling block

Posted by John Salerno on 11/22/39 11:39

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.

Thanks!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация