Re: Very simple Q:
| From: | Eric | Date: | Thu, 31 Aug 2000 03:31:44 +0000 |
| Subject: | Re: Very simple Q: | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14506@lists.php.net to get a copy of this message | ||
Thx.
This works well for now.
$header="$data[seller_fname] $data[seller_lname] ";
$header.="<$data[seller_email]>";
echo $header;
BTW, where are these type of formatting issues in the manual?
James Moore wrote:
> > Hello,
> >
> > I'm trying to produce this:
> >
> > Mr Seller <seller@hotmail.com>
> >
> > This:
> >
> > $header="$data[seller_fname] $data[seller_lname] ";
> > $header.="<$data[seller_email]>";
> > echo $header;
> >
> > produces:
> >
> > Mr Seller
>
> Look at your HTML Source youll be suprised!!!
>
> > and this:
> >
> > $header="$data[seller_fname] $data[seller_lname] ";
> > $header.="< $data[seller_email] >";
> > echo $header;
> >
> > produces:
> >
> > Mr Seller < seller@hotmail.com >
> >
> >
> > What is the proper way to produce Mr Seller <seller@hotmail.com>?
> >
>
> use < and > to get round this..
>
> James