Even more,
$fullname = "{$session['f_name']} {$session['l_name']}";
even....
$fullname = sprintf("%s %s", $session["f_name"], $session['l_name']);
etc....
"Mantas Kriauciunas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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:
> [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php