Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- base url


rainborick - 12:10 am on Jul 9, 2012 (gmt 0)


On most Apache-based servers, if you wanted to use complete URLs, you could use something like:

<a href="<?php echo $_SERVER['HTTP_HOST'] . '/' . $row['url']' ?>

If relative URLs are okay, you could simply use:

<a href="<?php echo '/' . $row['url']' ?>


Thread source:: http://www.webmasterworld.com/php/4473699.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com