Questions tagged [cakephp-1.3]

This label pertains to the CakePHP MVC framework's 1.3.x branch.

Include CakePHP named parameters in the URL when selecting from a list

If I have a selection list like the one below: <select name='languages'> <option value='german'>German</option> <option value='english'>English</option> </select> How can I use JavaScript/jQuery to refresh the ...

employing the condition of AND in MySQL

What I am searching for is: if I provide training_ids 172 and 174, it should only return user 150 I attempted the following query but it did not produce the desired result SELECT user_id FROM Training_users WHERE training_id = 172 AND training_id = 174 ...

Exploring CakePHP's search functionality for English language dates

In my cakephp application, there is a database table named users containing user data. Each user record includes the registration date stored in a field called date. I want to perform a find query that retrieves all users who registered last month. Here's ...

What is the best way to add multiple images in a cakephp application?

I am facing an issue with loading multiple images. Currently, I am only able to load a single image, and whenever I select a new image, the previous one disappears. Here is how my view page looks: <div id="for_image0" class="inline-form" style="displa ...

CakePHP is currently experiencing an issue with password hashing inconsistency

I am facing an issue with implementing a password reset function for my CakePHP website. I have tried various methods such as $auth->hashPasswords, $auth->password, and even Security::hash, but none of them seem to be hashing the password correctly. ...

CakePHP 1.3 - issue with JSON REST call not rendering correctly

I recently followed a tutorial on setting up a REST webservice for JSON and XML. While XML outputs correctly, I encountered an issue with JSON calls which resulted in the "view not found" message from Cake. To address this problem, I made some modificatio ...