[snip]myPacket: ------
How come I don't get ANY array under "myPacket:"?
function printMyVars() { echo "myPacket:\n"; print_r($myPacket); }
Two words: Variable Scope. :)
$myPacket is local to the function and empty.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php