Re: Newbie Question regarding Syntax

From: Date: Sun, 17 Aug 2003 23:44:44 +0000
Subject: Re: Newbie Question regarding Syntax
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-159874@lists.php.net to get a copy of this message
* Thus wrote Creative Solutions New Media (csnm@ns.sympatico.ca): > Sorry guys.....It think there is a bit of confusion. > > I miss typed what I need to do..... > > > <?php echo 'Email: '.'<A > > HREF=mailto:'.$row_rep_RS['repEmail'].'>'.$row_rep_RS['repEmail'].'</A>'; > ?> You should make sure to quote your html values ( href="value" ), it will lead to trouble if you don't. I would still do it like this: Email: <a href="mailto:<?php echo $row_rep_RS['repEmail']?>"> <?php echo $row_rep_RS['repEmail']?></a> Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#159874) next »