Reply to Re: how to better handle links

Your name:

Reply:


Posted by Knut Krueger on 05/26/07 19:52

jane doe schrieb:
> I update often, and having to do each page one by one is getting old very
> quick. I use css on my website, but I am not real good at it. I need a way
> to add or update links to my pages, but only have to edit one file, instead
> of 77. Is there a css way of doing this? Or is there another way?
>
> ---
>
>
I do this with PHP.
I have one config file with the links and I use the variables inside the
pages
<?
$link_1e = substr_replace($link_1,$root_url,0, 0);
echo "<a id=\"institute_link_1\" HREF=$link_1e> $linkname_1 </a>";
?>
the first line is to build the link form he root url and the path in the
config file for my own links. This is only for links in the HP
The second line uses a variable to build the link. f.e any url from the
config file. And I have only one Layout page (if the layout is equal)
and I am changing the content also with PHP include()

but that's the wrong group for that


Knut

[Back to original 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

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