# |
Sep 13th 2009, 06:27 |
BlackIce |
it still checks userAgents, even after setting Session.checkAgent to false |
# |
Sep 13th 2009, 06:26 |
BlackIce |
hm, fancyUpload doesn't seem to work right |
# |
Sep 13th 2009, 06:02 |
kokdemir |
I need some help for turkish chars? |
# |
Sep 13th 2009, 05:58 |
kokdemir |
hi, anybody knows about non latin character encoding? |
# |
Sep 13th 2009, 05:38 |
HardPhuck |
thanx |
# |
Sep 13th 2009, 05:35 |
AD7six |
HardPhuck: $form->create(null, array('url' => $this->passedArgs)); |
# |
Sep 13th 2009, 05:27 |
HardPhuck |
but when i submit that number is removed, how could i prevent that? |
# |
Sep 13th 2009, 05:27 |
HardPhuck |
one more thing the same form i use to register uses a same approach then edit /users/register/1234 (this number gets some stuff from DB) |
# |
Sep 13th 2009, 04:40 |
HardPhuck |
nini: thanx a lot, it works |
# |
Sep 13th 2009, 04:20 |
nini |
} |
# |
Sep 13th 2009, 04:20 |
nini |
return; |
# |
Sep 13th 2009, 04:20 |
nini |
if( !$this->Model1->validates() | !$this->Model2->validates()){ |
# |
Sep 13th 2009, 04:20 |
nini |
$this->Model2->set($this->data); |
# |
Sep 13th 2009, 04:20 |
nini |
$this->Model1->set($this->data); |
# |
Sep 13th 2009, 04:20 |
nini |
HardPhuck: use in your controller: |
# |
Sep 13th 2009, 04:13 |
HardPhuck |
will that show validation errors for both when i click submit? |
# |
Sep 13th 2009, 04:12 |
Jippi |
HardPhuck: saveAll |
# |
Sep 13th 2009, 04:10 |
HardPhuck |
i have a form that saves two models, can i validate and show errors for both at the same time? |
# |
Sep 13th 2009, 03:16 |
foofoo |
np |
# |
Sep 13th 2009, 03:16 |
Hiall |
ty BlackIce and foofoo |
# |
Sep 13th 2009, 03:16 |
BlackIce |
it might |
# |
Sep 13th 2009, 03:16 |
Hiall |
o.0 thats works? :D awesome |
# |
Sep 13th 2009, 03:15 |
BlackIce |
you could try just 'datetime = NOW()' |
# |
Sep 13th 2009, 03:15 |
Hiall |
yes puts it like that |
# |
Sep 13th 2009, 03:15 |
foofoo |
? |
# |
Sep 13th 2009, 03:15 |
foofoo |
where datetime = 'now()' |
# |
Sep 13th 2009, 03:14 |
foofoo |
or it puts it in string quotes? |
# |
Sep 13th 2009, 03:14 |
foofoo |
what do you want? >=? <= ? |
# |
Sep 13th 2009, 03:14 |
Hiall |
foofoo, that puts the query as `datetime` = 'NOW()' though |
# |
Sep 13th 2009, 03:14 |
foofoo |
NOW() isn't a php constant |
# |
Sep 13th 2009, 03:14 |
BlackIce |
put it in a string |
# |
Sep 13th 2009, 03:14 |
foofoo |
'datetime' => 'now()' |
# |
Sep 13th 2009, 03:14 |
foofoo |
string |
# |
Sep 13th 2009, 03:13 |
Hiall |
it's throwing an error when I just put 'datetime' => NOW() :/ |
# |
Sep 13th 2009, 03:13 |
BlackIce |
not sure tho |
# |
Sep 13th 2009, 03:13 |
BlackIce |
I believe you can just have NOW() in your conditions |
# |
Sep 13th 2009, 03:13 |
Hiall |
yes BlackIce |
# |
Sep 13th 2009, 03:12 |
BlackIce |
you mean in find() or something? |
# |
Sep 13th 2009, 03:12 |
Hiall |
Is it possible to use the mysql NOW() within conditionals? |
# |
Sep 13th 2009, 03:02 |
foofoo |
any time tiger |
# |
Sep 13th 2009, 03:02 |
BlackIce |
np |