hi... i'm try to array into checkbox and dropdown box.
this is my smarty array
{foreach from=$job_types key=k item=i}
<input type="checkbox" value="{$i.id}" />
{$k.type_name}
{/foreach}
this what i'm try to convert ...
(
* => JobType Object
(
[id] => 1
[var_name] => full_time
[type_name] => Full Time
[is_active] => Y
[errors] => Array
(
)
)
[1] => JobType Object
(
[id] => 2
[var_name] => part-time
[type_name] => Part Time
[is_active] => Y
[errors] => Array
(
)
)
)
Can you please let me know what i'm doing wrong..
i wont to turn php array into smarty checkbox or dropdown ....
please help
thank you.