Re: returning arrays
| From: | Andrei Zmievski | Date: | Fri, 01 Oct 1999 14:07:43 +0000 |
| Subject: | Re: returning arrays | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11411@lists.php.net to get a copy of this message | ||
RP wrote:
> $ass = $myArray->getItems();
> while(list($key,$item)=each($arr)) {
^^^^ shouldn't this be $ass?
> printf("Key: %s -- Item: %s<br>", $key, $item);
> }
>
> what is going wrong in getItems()?
> Can any one please explain me this one?
> Thanks in advance...
-- End of excerpt from RP
-Andrei
* Life may be expensive, but it includes an annual free trip around the sun.
*