Re: [PHP3] Classes and mysql_fetch_object()

From: Date: Tue, 20 Jun 2000 23:52:42 +0000
Subject: Re: [PHP3] Classes and mysql_fetch_object()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2401@lists.php.net to get a copy of this message
In article <20000616011600.A8130@zorka.com>, joe@earth.care2.com (Joe Stump) wrote: > I defined a class and some variables for that class - now this class basically represents a row in my database and the functions are things I want to do with that row. Is there anyway I can pull $row in as an object and assign it in one big swoop to my other class like this: No, you can't do that. You could maybe write a function to walk down the objects as arrays using list/each and take care of it for you though... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#2401) next »