Re: [PHP] combine 2 integer

2002-09-09 Thread mhe

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

2002-09-09 Thread Zak Greant

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

2002-09-09 Thread Marek Kilimajer

$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

2002-09-09 Thread Scott Houseman

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