You should use % instead of *
On Sep 3, 4:49 pm, Dave Maharaj m...@davemaharaj.com wrote:
I have this query in the model
$params = array(
'conditions' = array(
'Profile.company LIKE' = $i.'*'),
'fields' = array(
'Profile.company',
'Profile.id'),
'contain' = false);
On May 2, 9:40 pm, Brendon Kozlowski brendon...@hotmail.com wrote:
If you can figure out the SQL query, then it could be reverse
engineered in to a CakePHP find call. Containable is merely a
mechanism to reduce any unnecessary joins that you don't need for that
particular query; it's to
in /app/config/routes.php
put this route :
Router::connect('/', array('controller' = 'contents', 'action' =
'view',1));
On Mar 5, 6:39 am, kaushik kaushikwo...@gmail.com wrote:
In front page i want to show same with http;//www.test.com/contents/
view/1, but the url must be like
TextMate
On Mar 1, 7:39 am, Marcel vermas...@gmail.com wrote:
At the moment I'm still using Eclipse. But it's too slow and the code
completion is not very useful with CakePHP. A normal Texteditor would do
it's job as well.
I'll give Netbeans a try and then probably switch to notepad++ or
I had the same issue a week a go, my server is located on GMT -6 and
my country is on GMT -5
The function takes the GMT from Server within the timestamp
/* @param integer $time server timestamp (time()) or whatever
timestamp
* @param integer $userGMT this is the GMT you want convert to
*
The file validation is not implemented yet,
i had to write the code (works for me) and uploaded it to
trac.cakephp.org,
This is the ticket
https://trac.cakephp.org/ticket/4170
On Jan 11, 12:41 am, Louie Miranda [EMAIL PROTECTED] wrote:
I just want to be able to validate a file upload, but
Use size in the options array,
This is an example for input type text:
$form-input('Model.field', array('type'='text','size' = '50',
'maxlength'='255'));
On Feb 22, 6:01 am, Doug @ Straw Dogs [EMAIL PROTECTED]
wrote:
I'm a bit suprised to find that the input method of the form helper
doesn't