you can reference the vars as well, but i would guess with some logic
changes you could avoid the problem your having?
Referencing ..
$blah = '';
function add(&$blah, $something, $somethingElse) {
$something ++;
$somethingElse ++;
$blah = $something + $somethingElse
}
John Kaspar <[E
use the global keyword...
http://www.php.net/manual/en/language.variables.scope.php
On 3/7/2004 6:17 PM, Nathan Croker wrote:
I am relatively new to PHP. But something I can't seem to make work is when
I call one of the functions I have made and a variable is set inside that
function
eg. funct
2 matches
Mail list logo