RE: [PHP] Use of Ampersand in php

2006-01-23 Thread Richard Correia
Hey,

Check out this example at famous http://www.weberdev.com

http://www.weberdev.com/get_example-3871.html

Let me know if you need more information.

Thanks,
Richard

-Original Message-
From: Nirmalya Lahiri [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 8:34 AM
To: php-general@lists.php.net
Subject: [PHP] Use of Ampersand in php

Hi everybody,
 Can any one tell me, what is the use of ampersand '' in php? Is it
a pointer operator like 'C' language? Kindly note the example

?php
$a=1;
$b= $a;
$c=$a;
echo $b,$c;
?

 After running this example I got result 1 for both variable $b and
$c. Why so?

--Nirmalya

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Use of Ampersand in php

2006-01-22 Thread Nirmalya Lahiri
Hi everybody,
 Can any one tell me, what is the use of ampersand '' in php? Is it
a pointer operator like 'C' language? Kindly note the example

?php
$a=1;
$b= $a;
$c=$a;
echo $b,$c;
?

 After running this example I got result 1 for both variable $b and
$c. Why so?

--Nirmalya

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Use of Ampersand in php

2006-01-22 Thread Michael Hulse

On Jan 22, 2006, at 7:04 PM, Nirmalya Lahiri wrote:

Can any one tell me, what is the use of ampersand '' in php?


This might help:

http://us2.php.net/manual/en/language.references.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php