This has me beat. I'm trying to create an array of fields in cakePHP 1.2.5 & PHP 5.3.2 The array is zero based. On the first iteration, $count == 0. For some reason the string concatenation seems to convert this to null or unset which cake then interprets as "insert model name here", viz:
for($count=0;$count<$num;$count++)
{
echo $form->input($count.'.NodeDescriptor.title');
}
<input name="data[NodeDescriptor][NodeDescriptor][title]" type="text" id="NodeDescriptorNodeDescriptorTitle" />
<input name="data[1][NodeDescriptor][title]" type="text" id="1NodeDescriptorTitle" /></div><tr><td><div class="input select">
...
Ben, onu strval'ing, değerini döküm tek tırnak, çift tırnak, çift tırnak ve {} boşuna denedim. Bu bir PHP özellik, bir CakePHP unrobustness ya beni dilsiz olmak mı?