Re: [PHP] combine 2 integer
I'm not shure what you mean, but is it something like this... $var1 = $var1 + $var2; regards Martin Hjort Eriksen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] combine 2 integer
On September 9, 2002 03:38, Meltem Demirkus wrote: Hi, I want to add one integer to the end of another , which function can I use?.. Hi Meltem, You can use the concatenation operator (.) ? echo 2 . 4; ? Cheers! --zak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] combine 2 integer
$string = $int1 . $int2 Meltem Demirkus wrote: 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
RE: [PHP] combine 2 integer
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:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 11:39 AM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php