Hi. I'm a super-newbie to php and need some mega help. How do i make a link in php? can anyone tell me? link as in hyperlink. i hope you can help me out. 😕
Something like this should do the trick Tucks:
<?php $url = "http://www.phpbuilder.com/"; $text = "Go to PHP Builder Site"; echo "<A HREF='$url'>$text</A>"; ?>
A bit more detail might be an idea. A 'link' in PHP looks like this:
print "<a href=\"http://www.alink.com\">My link</a>";
Is that what you wanted? Probably not. Care to elaborate?
Norman
Thank you
Or even:
echo "<a href=http://www.alink.com>My link</a>";
or
echo "<a href='http://www.alink.com'>My link</a>";
etc...