cakephp-1.3
I need to convert a mysql Query to CakePHP conditions
I am having trouble understanding how to turn this into a native cakephp query using the find function. any help would be greatly appreciated.[详细]
2023-04-13 00:41 分类:问答Custom validation rule in CakePHP not working as intended
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.[详细]
2023-04-12 21:03 分类:问答cakephp find all data format
I am using following to find data. $records = $this->ModelName->find(\'all\', array(\'fields\' => array(\'name\',\'email\')));[详细]
2023-04-12 18:59 分类:问答Clicking on Ajax links twice doesn't work as expected (Cake PHP)
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.[详细]
2023-04-12 14:21 分类:问答Image not updated with Meioupload
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.[详细]
2023-04-12 10:13 分类:问答cakephp - get table names and its column details
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?[详细]
2023-04-12 02:07 分类:问答cakephp 1.3 ajax autocomplete not working. autocomplete=off
Can not get my ajax to work at all. below is my code. I am trying to use autocomplete Post Controller <?php[详细]
2023-04-11 20:56 分类:问答How do I use the CakePHP Configure class?
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.[详细]
2023-04-11 18:20 分类:问答cakephp, how to save data in two tables?
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.[详细]
2023-04-11 07:53 分类:问答Returning all the results in cakephp of a user
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[详细]
2023-04-11 05:09 分类:问答