Posted by Steve on 07/18/07 23:47
| class foo | { | var $bar = 'hello world'; | function foo($message = null) | { | if (is_null($message)){ return; } | $bar = $message; change that last line to: $this->bar = $message;
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming