# |
Aug 7th 2008, 06:19 |
alkemann |
space expensive, but if u really need to know changes |
# |
Aug 7th 2008, 06:19 |
alkemann |
saves a in a text field like this :colour (Greenish) => (Green) description (Its good and green and moist!) => (Its good and green) country_id (219) => (221) |
# |
Aug 7th 2008, 06:19 |
achew22 |
ooh |
# |
Aug 7th 2008, 06:19 |
trueaxe |
-! is an escape flag which tells cake that WEEK(..) is not a string |
# |
Aug 7th 2008, 06:18 |
alkemann |
i have a new version of step one of logging |
# |
Aug 7th 2008, 06:18 |
achew22 |
yeah |
# |
Aug 7th 2008, 06:18 |
alkemann |
achew22: u still here? |
# |
Aug 7th 2008, 06:18 |
stevieboy |
? |
# |
Aug 7th 2008, 06:18 |
stevieboy |
<> |
# |
Aug 7th 2008, 06:18 |
trueaxe |
damn |
# |
Aug 7th 2008, 06:18 |
trueaxe |
though -! is deprecated |
# |
Aug 7th 2008, 06:17 |
trueaxe |
thanks I will do that |
# |
Aug 7th 2008, 06:17 |
trueaxe |
WEEK(created,1) = WEEK(CURRENT_DATE, 1) matches 'WEEK(Game.created,1)' => '-!WEEK(CURRENT_DATE, 1)' |
# |
Aug 7th 2008, 06:16 |
stevieboy |
i'd suggest |
# |
Aug 7th 2008, 06:16 |
stevieboy |
then at least leave a comment with TODO there explaining the "problem" |
# |
Aug 7th 2008, 06:15 |
trueaxe |
still, it's a small app and the db will be mysql. Maybe I will change it sometimes later |
# |
Aug 7th 2008, 06:14 |
trueaxe |
yeah |
# |
Aug 7th 2008, 06:13 |
stevieboy |
but your app would be glued to mysql |
# |
Aug 7th 2008, 06:13 |
stevieboy |
i know |
# |
Aug 7th 2008, 06:13 |
trueaxe |
if it works |
# |
Aug 7th 2008, 06:13 |
trueaxe |
well, it's so much easier with the mysql functions |
# |
Aug 7th 2008, 06:13 |
stevieboy |
you better should,bot |
# |
Aug 7th 2008, 06:12 |
stevieboy |
mvc ftw |
# |
Aug 7th 2008, 06:12 |
stevieboy |
cakephp is all about being db-independent |
# |
Aug 7th 2008, 06:12 |
trueaxe |
stevieboy: hmm, might be a good idea |
# |
Aug 7th 2008, 06:11 |
stevieboy |
trueaxe: maybe it'd be better if you dont use mysql-specific functions in cake |
# |
Aug 7th 2008, 06:10 |
stevieboy |
alkemann: i agree |
# |
Aug 7th 2008, 06:07 |
alkemann |
no |
# |
Aug 7th 2008, 06:07 |
trueaxe |
me? |
# |
Aug 7th 2008, 06:07 |
alkemann |
honestly i dont demend that ppl read manuals, but putting your key word in a search field? |
# |
Aug 7th 2008, 06:07 |
trueaxe |
what's the right find condition for this sql satement: WEEK(created,1) = WEEK(CURRENT_DATE, 1)?? |
# |
Aug 7th 2008, 06:05 |
poluta1 |
woyoo... thx everybody... :) |
# |
Aug 7th 2008, 06:03 |
stevieboy |
;) |
# |
Aug 7th 2008, 06:03 |
alkemann |
yea |
# |
Aug 7th 2008, 06:03 |
stevieboy |
you mean rtfb |
# |
Aug 7th 2008, 06:03 |
alkemann |
rtfm <3 |
# |
Aug 7th 2008, 06:02 |
alkemann |
http://bakery.cakephp.org/articles/view/improved-captcha-component |
# |
Aug 7th 2008, 06:02 |
alkemann |
http://bakery.cakephp.org/articles/view/captcha-component-with-phpcaptcha |
# |
Aug 7th 2008, 06:02 |
alkemann |
poluta1: http://bakery.cakephp.org/articles/view/integrate-cakephp-with-kcaptcha |
# |
Aug 7th 2008, 05:59 |
poluta1 |
yeaaaa back to old way :D |
# |
Aug 7th 2008, 05:59 |
poluta1 |
wewww... :D it is so difficult creating custom model validation for captcha |