function sample(&$var){ // do something }
function sample1($var){ // do something }
just wanted to find out what &$var stands for ? is it a reference passed ??
Yes.
http://www.php.net/manual/en/functions.arguments.php
thanks for your help, appreciate it ..