foreach ($software as $sware) {}
would work as well as just
foreach ($software as $s) {}
etc
be creative :)the scope of this var is so small that you should not bother too much here On 30 Jul., 17:34, Manolet Gmail <[email protected]> wrote: > Hi, im building an application to collect pieces of software. the problem is > that "software" dont have a plural form. > i dont know what to do, i know i can create an inflector but... i dont know > how to call the array for the foreachs, i mean > > foreach ($software(plural) as $software(singular) > > i know i can use whatever like $software_many but... im looking for the > right way to do it.. > > any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
