Re: new row object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux