RE:[PHP] Can Objects be passed to another page?
| From: | Chris Sherwood | Date: | Wed, 03 Sep 2003 14:22:35 +0000 |
| Subject: | RE:[PHP] Can Objects be passed to another page? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161555@lists.php.net to get a copy of this message | ||
Webmaster.
Yes they can, but you must pass the reference to the object and not simply the "value" per
se.
ie
$newObject = New phpWeb.Class.Sql();
$returnvalue = PerformUserValidation(&$newObject);