Posts by Math's • 21 points
2 posts
-
1
votes1
answer175
viewsQ: Condition inside foreach before saving model
In my Controller of Cakephp was made a foreach passing all data from a form to a variable. Now, how do I make one if specific, that its objective would be if the value that the foreach is passing is…
-
1
votes1
answer48
viewsQ: Children/Parent cakephp
In the code below, I have a Select, that returns all my accommodations that are with parent_id null, which in case would be all accommodations FATHER. But when it comes time to return, I need you to…