Hi. Can anyone tell me what the ampersand (&) does in front of a variable?
For example, note the & in front of $err_no and $err_str
$this->socket = fsockopen($this->smtp_host, $this->smtp_port, &$err_no, &$err_str);
Thanks
http://www.php.net/manual/en/language.references.php
Thanks a bunch.
Say, you woudln't happen to be able to answer my question in this post, would you? http://www.phpbuilder.com/board/showthread.php?s=&threadid=10274996
thanks
No, never used smarty. Could tell you how to do it in plain php...
Yeah regular php is the easy part. Unfortunately I don't believe the modulus operator exists in Smarty... nor do conditionals.. Thanks anyway.