Re: [PHP] Using & before a variable

2004-09-03 Thread Marek Kilimajer
Shaun wrote: Hi, I have noticed that some of the functions in a tutorial I am studying have an & in the variable parameters i.e. function add(&$id) { /* function body */ } I would be most grateful if some can shed some light on this as i cant fnd any reference to this in the PHP manual... Thanks h

Re: [PHP] Using & before a variable

2004-09-03 Thread Nick Wilson
* and then Shaun declared > I would be most grateful if some can shed some light on this as i cant fnd > any reference to this in the PHP manual... Here ya go! http://www.php.net/manual/en/language.variables.php#language.variables.basics It's the 2nd example there. I cant claim to fully unde

[PHP] Using & before a variable

2004-09-03 Thread Shaun
Hi, I have noticed that some of the functions in a tutorial I am studying have an & in the variable parameters i.e. function add(&$id) { /* function body */ } I would be most grateful if some can shed some light on this as i cant fnd any reference to this in the PHP manual... Thanks -- PHP G