Paul Scott wrote:
On Sat, 2006-10-14 at 11:06 +0100, Deckard wrote:
How can i code a class with a function that returns more than one value ?


1. return array();
2. return stdClass;

--Paul


another option.. can be avoid, is to use global variables or references...and modify them in the function

--
Thanking You

Sumeet Shroff
http://www.prateeksha.com
Web Designers and PHP / Mysql Ecommerce Development, Mumbai India

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to