RE: [PHP] combine 2 integer

From: Date: Mon, 09 Sep 2002 10:24:52 +0000
Subject: RE: [PHP] combine 2 integer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115715@lists.php.net to get a copy of this message
Hi there. You could join the two using a period(.) this will concatenate the two strings. $a = 1; $b = 2; $together = $a.$b; // $together == '12' regards -|Scott > -----Original Message----- > From: Meltem Demirkus [mailto:mdemirkus@momentum-dmt.com] > Sent: Monday, September 09, 2002 11:39 AM > To: php-general@lists.php.net > Subject: [PHP] combine 2 integer > > > Hi, > > I want to add one integer to the end of another , which function can I > use?.. > > thanks > > meltem > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#115715) next »