I have this array from $Infor = $this->StudentFeeUtil->getPaymentPlanDetails($currentSessionID); pr($Infor) I would like to iterate through t ...
I have this array from $Infor = $this->StudentFeeUtil->getPaymentPlanDetails($currentSessionID); pr($Infor) I would like to iterate through t ...
I’m working on a legacy Cakephp 2 system and having some issues figuring out how the pagination is supposed to work. I have a Users model, a SystemSe ...
I am using an iframe in my chrome extension app, the iframe src has link to my server, I login to my server through the iframe, but when I refresh the ...
CakePHP 2.3 sets the Session variables (including cookie attributes) in the core.php file. I need to set samesite=None and Secure=true for the session ...
I have a scenario where I have to associate the same model with hasMany. My Table structure: Has to Many relation for Children in PatientPaymentTran ...
Is there any way to setup two database users in cake php? All read queries should use RO user and write queries should use RW user. I am using mysql ...
Hello there to all developers, I have this next query and depending on which country I am located, I need to delete an element from the selected fiel ...
I’m working on a project with several database connections. One of those connections is not critical, it’s a printing server used sporadically and cu ...
So I am trying to make an ajax call with an entity Id and query a data of that. As far as I know, if an url is such abc.com/xyz/123 then it will hit x ...
I am trying something more complicated. I have an Item which stores all general items, I have a Product which is an item and I have a Good which is a ...
I am trying to bake all with cake bake all, but it returns all sorts of errors. It says that default in database.php cannot be found, but in reality i ...
I am trying to "merge" add and edit function so to speak, into one "save" function, which will, whether $id of the model is provided, update or add a ...
I am using CakePHP 2.10.19. I have a form for entering Item Types. I also have other models for entering appropriate database objects. Error I am occu ...
Using CakePHP 2.3, I'm retrieving data using a paginator. So, say my models are Countries having many Cities, and in my CountryController I have... ...
My client has many positions and each position has many shifts. I need that when I make the client query $this->Client->find('all') I return ...
I want to store my saved session "POSTS" in an array so I can display them in Index.ctp. I save my posts in session by clicking on a link from Index.c ...
I've a similar question to CakePHP 2.x Custom Route with Arguments whereby I would like to use the parameter as one of my variable. (domain/param/con ...
I have 2 tables data source in cakephp: Default is test Now in both db usermaster same named table is available. Now I need both db table us ...
I'm working with CakePHP 2.8 code and I don't have access to any of the previous coders, otherwise, I would ask them about this. I'm creating a login ...
I need to mark one checkbox named brandId, When I mark the checkbox I trigger another jQuery to bring back and populate the serial number field: ...