wwconslt
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by wwconslt
-
-
Thanks!! That did the trick. I'm don't really understand how though. How is the http:// of my main site getting picked up in the first place, so that we have to strip it out? (noob here).
Thanks again.
-
Hello Everyone,
I'm using PHP with MySQL. One of the fields in the database is website. The code I'm using is as follows:
variable:
$web=mysql_result($result,$i,"web");
html/php code:
<td><font face="Arial, Helvetica, sans-serif"><a href="<? echo "$web"; ?>">Website</a></font></td>
What it should do is have the clickable word Website with the correct url from the database. Instead it's repeating the website the page is on. For example it's doing this:
http://mywebsite/www.enteredwebsite.com
Any help is appreciated.
href with web link variable repeating my web site??
in PHP Coding Help
Posted
Excellent, clear explanation. Thank you!