Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2004071

Re: [PHP-DB] new row object From: John W. Holmes (holmes072000 <email protected>)
Date: 07/02/04

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

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php