Re: new row object
| From: | John W. Holmes | Date: | Fri, 02 Jul 2004 17:16:49 +0000 |
| Subject: | Re: new row object | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35105@lists.php.net to get a copy of this message | ||
Bob Lockie wrote:
I use $row = fetch_row_object, array_push($row) and I want to manually insert a row at the end of my array to indicate if there are more rows. Is there a way to create a row object?class row { var $morerows = 'Yes'; } $more = new row; array_push($more); about all there is too it, although I'm sure there is a better way to do whatever you're doing if you explained it more. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com