RE: [PHP] variable assign?

From: Date: Wed, 08 Nov 2000 22:14:26 +0000
Subject: RE: [PHP] variable assign?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24400@lists.php.net to get a copy of this message
You could easily do it like: $fullname = $fname." ".$lname; The '.' is the string concatenation operator. Jason -----Original Message----- From: Wee Chua [mailto:Chua@mail.interclean.com] Sent: Wednesday, November 08, 2000 3:11 PM To: PHP (E-mail) Subject: [PHP] variable assign? Hi everyone, How could I join 2 variable into 1, such as $data=mysql_fetch_row($result); $fname=$row('firstname'); $lname=$row('Lastname'); how could I combine $fname and $lname to become another variable $fullname? Thanks for any helps in advance. Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net _______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#24400) next »