NYCPHP Meetup

NYPHP.org

[nycphp-talk] Array keys in Smarty

Chris Snyder csnyder at chxo.com
Thu Sep 18 08:59:38 EDT 2003


Yes-- the syntax is like Java, though: {$array.key}
You may also use objects, with no change: {$object->property}

Or were you asking about getting at the keys themselves, using something 
like a foreach loop?

    csnyder

Nasir Zubair wrote:

>Is it possible to access the keys of an associative array _in_ a template. 
>
>- Nasir
>
>_______________________________________________
>talk mailing list
>talk at lists.nyphp.org
>http://lists.nyphp.org/mailman/listinfo/talk
>  
>




More information about the talk mailing list