Friday, April 2, 2010

Re: Undefined index

right!

when using findAllBy i had:

[audits] => Array
(
[0] => Array
(
[Audit] => Array


but with form and my owne query

[audits] => Array
(
[0] => Array
(
[audits] => Array

and while comparing i didn't notice it. i'll know fr the next time.

it should be: <?php echo $audit['audits']['id']; ?>

thanks!!

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

No comments: