RE: [php-objects] collections

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

 



to get back to OOP then.

What's the best way to handle a dynamic collection in PHP?

I can create an array of objects:

for ($i=0; $i<2; $i++) {
   $objArray[] = new Object;
}

But what is the best way to handle x number of objects...with the number
changing each time the script runs?



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/saFolB/TM
---------------------------------------------------------------------~->

Look here for Free PHP Classes of objects:
http://phpclasses.UpperDesign.com/
To unsubscribe from this group, send an email to:
php-objects-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux