Re: fullname
| From: | lallous | Date: | Tue, 30 Jul 2002 10:23:57 +0000 |
| Subject: | Re: fullname | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110328@lists.php.net to get a copy of this message | ||
Even more,
$fullname = "{$session['f_name']} {$session['l_name']}";
even....
$fullname = sprintf("%s %s", $session["f_name"], $session['l_name']);
etc....
"Mantas Kriauciunas" <Mantuks@attbi.com> wrote in message
news:16055893108.20020730021116@attbi.com...
> Hey php-general,
>
> is there some other easyer way to do in one line than this?:
>
> $fullname = $session["f_name"];
> $fullname .= " ";
> $fullname .= {$session['l_name']};
>
> P.S the thing is to add line in the middle of the first and last names
> :)
>
> Thanks
> --
> Best regards,
> Mantas
>
> Contacts:
> Mantuks@attbi.com
>