View Single Post

  #7 (permalink)  
Old 12-06-2007
Guillaume BASSINET
 
Posts: n/a
Default Re: problems with <a href="<? echo $web; ?>">Website</a>

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, ?> ??
Reply With Quote