I need to run an if on 2 conditions but I cant get it to work <?php if (!empty($user['Post']) || !empty($user['Favorite']['id'])) ?> do something here if either is not empty && would check if both are empty but I need if either is not empty. How can I do this or what have I got done wrong here? thanks, Dave
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
