On Sat, 2003-09-27 at 12:18, Robin Kopetzky wrote: > Good morning all!! > > Can you nest an array within an array?? > > Example: $paArgs['aCheckBoxes[$iIndex]['sName']']
You mean can you retrieve an array entry by giving a key defined by a value in another array? To do so remove the outer quotes in your above statement and add a $ to the interior array. Example: $paArgs[$aCheckBoxes[$iIndex]['sName']] Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php