I have never used cake before but found myself thrust into it because
a project I have inherited was developed using it. I must say I find
it very inflexible as opposed to good old fashioned coding. I have a
form where the developers used iterating keys in the form. What I want
to do, and what I am accustomed to doing when the number of inputs is
variable or unknown is something like this: <input type=text
name=something[]/> where it just plugs my post into an array with the
key undeclared. How do you guys bake (correct term?) into your
projects? This is what I have now:
echo $form->checkbox('OnsiteTrainingClass.select_class'.
$i,array('id'=>'select'.$i,'label'=>'','value'=>
$value['OnsiteTrainingClass']['id']));If I take the $i out of this it hoses everything up. Help Tom -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
