How do I embed a link into the php code? A link to a web page, but within the php parameters.
Ben
<?PHP print "<a href='index.html'>Link Here</a>"; ?>
Thanks
it works, but I it brings me to
localhost/www.yahoo.com
instead of www.yahoo.com
don't use <? print ("<a href='www.yahoo.com'"); ?>
but rather <? print ("<a href='http://www.yahoo.com'"); ?>
Oops forgot to close the tag.., sorry
Make sure you include the HTTP:// part i.e.
<? print "<a href='http://www.yahoo.com'>Link</a>"; ?>