Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
links exampleCode Wizard, 12-30-2006 |
example of inserting a link on your site. this could be changed to insert something else aswell. I use this script on one of my pages, but it has more code and works in another way...you can include links on your php pages that could look like - "<a href=link.php?link=http://evilwalrus.com/>blah blah</a>" and more, this is a very easy way to include links on your pages. maybe when i feel like it, i can submit an example of how some of my own pages looks like (none sql version that is).
if ($link) {
echo "<br>";
echo "<br>";
# the text you want the user to read when he has clicked the link.
$text="click here to visit <b>$link</b>";
# print out the link.
echo "<a href=$link>$text<a/>";
echo "<br>";
echo "<br>";
# if script is being called like "link.php?link=" we send this. could also be removed.
}
else {
print "no argument.";
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments

