Page 1 of 1

I'm New To php and I need to add a hyperlink - Please Help..

Posted: Thu Jan 24, 2008 12:45 am
by geester
Hi,

I'm new to php, I have a website thats in php, I need to add a hyperlink to my pages,
linking to my other website thats in html....

#1. Will this work?
#2. How do I do it?

The site in php has around 200 pages, so can anyone tell me how to add the link, so
it shows on all pages?

Much appreciated...

:oops:

Re: I'm New To php and I need to add a hyperlink - Please Help..

Posted: Thu Jan 24, 2008 8:01 am
by webspider
#1. Will this work?
yes
#2. How do I do it?

Code: Select all

 
<?php
 echo "<a href=http://www.example.com>linkedtext</a>";
?>
 
The site in php has around 200 pages, so can anyone tell me how to add the link, so
it shows on all pages?
check whether there is some common part which is included in all pages :-)

Re: I'm New To php and I need to add a hyperlink - Please Help..

Posted: Thu Jan 24, 2008 6:38 pm
by RobertGonzalez
Everah | Moved to PHP - Code. General Discussion specifically mentions that it is not for code related questions.

Is the current setup using any PHP include/require calls?

Re: I'm New To php and I need to add a hyperlink - Please Help..

Posted: Thu Jan 24, 2008 6:49 pm
by thinsoldier
url ?