Arrays/OOP again
| From: | Joshua E Minnie | Date: | Thu, 07 Mar 2002 19:37:03 +0000 |
| Subject: | Arrays/OOP again | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87672@lists.php.net to get a copy of this message | ||
I am having problem with an array filled with an object. I am trying to
access it using current($object_array)->object_var. Here is the line of
code that is giving me the problem, any help that can be provided will be
greatly appreciated.
if((current($retrieved)->beginTime > $morning) &&
(current($retrieved)->beginTime < $night))
--
Joshua E Minnie
CIO
josh@acsurf.net
"Don't work for recognition, but always do work worthy of recognition."