I am having trouble understanding how to turn this into a native cakephp query using the find function. any help would be greatly appreciated.
I wrote a custom validation method inside my Submission model that basically allows a blank input field, but once someone enters something in it, it\'ll validate the data entered.
I am using following to find data. $records = $this->ModelName->find(\'all\', array(\'fields\' => array(\'name\',\'email\')));
In my Cake PHP application, users can add a team to their watchlist. I have made adding and removing to watchlist Ajax operation using JQuery JsHelper. Both operations work fine independently.
I just recently started using MeioUpload 2.0 with cakephp 1.3. Ive configured the behaviour correctly with my model 开发者_JS百科and im able to upload images with my model correctly.
Does anyone knows how to get table name from model name? Also I want to get all column names and its types of that model/table name. Is it possible to get such details of given model name?
Can not get my ajax to work at all. below is my code. I am trying to use autocomplete Post Controller <?php
I am trying to use the Configure class in CakePHP, but I\'m not sure if I am using it correctly. I have read through the cook book and the API, but I can\'t seem to do what I want.
i have a simple form with two input fields and i would like to save the data from one field inside one table and the other one inside the second table.
I have the following codes in my model. I wish to display both personal and professional. But currently my below codes isnt working as I just added a plus sign to get both. Individually I am able to d