Sunday, February 6, 2011

array_key_exists php statement

Hi guys,...
how u dooooing...

I need help with php statement. I'm getting an error:
Parse error: syntax error, unexpected ';' in /home/zipmaniak/
zippopeople.com/html/app/views/gifts/admin_manage.ctp on line 93

<?php if(!(array_key_exists($gift['GiftCategory']['name'])) ?>

Please some one help me with this... or if I have to call from
controller,... how do I do that...?

<?php if(!(array_key_exists('controller', $this->params) && $this-
>params['controller'] == 'gifts' ..... ---WHAT ELSE IN
HERE ???--- )): ?>

Thanks
Chris

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate