# |
Aug 8th 2008, 13:26 |
mil |
It would be hilarious if cake couldn't set this. I can't seem to pass anything. . . |
# |
Aug 8th 2008, 13:26 |
linked_ |
where's should i put asc? |
# |
Aug 8th 2008, 13:26 |
tbranyen |
zeen: is there audio in the flash? |
# |
Aug 8th 2008, 13:26 |
AD7six |
linked_: did you look in the book yet. |
# |
Aug 8th 2008, 13:26 |
linked_ |
find('all', array('ORDER' => 'fieldname')? |
# |
Aug 8th 2008, 13:26 |
tbranyen |
zeen: yeah i'll check it out |
# |
Aug 8th 2008, 13:26 |
linked_ |
quick q: how do i do ORDER BY field ASC in find()? |
# |
Aug 8th 2008, 13:24 |
AD7six |
agentbob: of course it's possible - what revision of cake are you using |
# |
Aug 8th 2008, 13:23 |
freebox2 |
uhm |
# |
Aug 8th 2008, 13:23 |
agentbob |
or do i need to make the query manually |
# |
Aug 8th 2008, 13:22 |
teknoid |
freebox2: then maybe use time helper |
# |
Aug 8th 2008, 13:22 |
agentbob |
AD7six: so is what i'm trying to do possible with cake? |
# |
Aug 8th 2008, 13:22 |
freebox2 |
teknoid: may be |
# |
Aug 8th 2008, 13:22 |
AD7six |
agentbob: what a surprise |
# |
Aug 8th 2008, 13:22 |
agentbob |
the sql is broken. WHERE fieldname IN ('LIKE %foo%'); will not work |
# |
Aug 8th 2008, 13:21 |
agentbob |
AD7six: it's not a question of what an array does, it's a question of how cake handles it |
# |
Aug 8th 2008, 13:21 |
agentbob |
what's the same thing? |
# |
Aug 8th 2008, 13:21 |
AD7six |
agentbob: it's a misunderstanding |
# |
Aug 8th 2008, 13:21 |
AD7six |
agentbob: i's the same thing |
# |
Aug 8th 2008, 13:21 |
agentbob |
it should handle each element of the array the same way it'd handle a string sent instead of the array |
# |
Aug 8th 2008, 13:20 |
zeen |
D |
# |
Aug 8th 2008, 13:20 |
zeen |
http://www.firecreek.co.uk/files/videos/2008-08-08_1916.swf |
# |
Aug 8th 2008, 13:20 |
zeen |
if anyone wants to check out this cms i'm making with cakephp/extjs |
# |
Aug 8th 2008, 13:20 |
agentbob |
AD7six: it's not a question of what an array does, it's a question of how cake handles it |
# |
Aug 8th 2008, 13:20 |
mil |
It's rendering the same number of rows every time, though. |
# |
Aug 8th 2008, 13:20 |
AD7six |
agentbob: what does an array 'do' |
# |
Aug 8th 2008, 13:19 |
mil |
I'm having trouble setting the number of rows for a textarea. I create it using $html->input('input_name', array('rows'=>'5', 'label'=>'thisismylabel')) |
# |
Aug 8th 2008, 13:19 |
agentbob |
AD7six: not entirely.. 'LIKE' works if it's not in an array |
# |
Aug 8th 2008, 13:19 |
AD7six |
'ello |
# |
Aug 8th 2008, 13:19 |
lqdice__ |
hello AD7six |
# |
Aug 8th 2008, 13:19 |
AD7six |
agentbob: obvious that it would do that if you think about it. |
# |
Aug 8th 2008, 13:18 |
AD7six |
freebox2 is the locale of your server br-pt |
# |
Aug 8th 2008, 13:18 |
agentbob |
teknoid: any idea if there's a way to do multiple LIKE calls with that advnaced search? $conditions['OR']['fieldname'] = array('LIKE %foo%','LIKE %bar%'); comes out as: WHERE fieldname IN ('LIKE %foo%', 'LIKE %bar'); |
# |
Aug 8th 2008, 13:17 |
teknoid |
freebox2: in the view? |
# |
Aug 8th 2008, 13:16 |
freebox2 |
how i can translate $piada['Piada']['created']; (DATE TIME) to brazilian portuguese: 27/12/2007 |
# |
Aug 8th 2008, 13:14 |
teknoid |
AD7six: ahh... i was wondering about that :) |
# |
Aug 8th 2008, 13:13 |
AD7six |
teknoid: bizarre to approve messages from an old veteran ;) |
# |
Aug 8th 2008, 13:12 |
teknoid |
AD7six: this morning |
# |
Aug 8th 2008, 13:12 |
AD7six |
teknoid: purely out of interest did you recently change the email you use on the google group |
# |
Aug 8th 2008, 13:10 |
lqdice__ |
this security component is too secure.. there is no easy to way to debug it |
# |
Aug 8th 2008, 13:08 |
lqdice__ |
just saved me a few lines of code |