Posted by Guillaume BASSINET on 12/06/07 19:31
Jen a écrit :
> Why oh why does my domain name become part of the link when I use the
> following code.
> <a href="<? echo $web; ?>">Website</a>
> the variable $web is from a user input form.
> Here's what the link looks like
> --http://mysite.com/www.variablesite.com
> All other variables display correctly in
> the table including <a href="mailto:<? echo $email; ?>">E-mail</a>
>
>
>
> TIA,
> jen
>
>
else if you use <?php echo $web, ?> ??
Navigation:
[Reply to this message]
|