Returning TWO variables from function
| From: | Roy W | Date: | Sat, 21 Jun 2003 11:28:04 +0000 |
| Subject: | Returning TWO variables from function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152380@lists.php.net to get a copy of this message | ||
Can someone let me know how to return TWO variables from a function
I tried:
return $var1, $var2;
But I get parse errors and other errors.
Thanks!