# |
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 |
# |
Sep 13th 2009, 03:01 |
abdelm |
welcome |
# |
Sep 13th 2009, 03:01 |
vanir |
thanks a lot foo, BlackIce, abdelm |
# |
Sep 13th 2009, 03:01 |
vanir |
sounds good :) |
# |
Sep 13th 2009, 03:00 |
foofoo |
np, come back and ask specific questions and everyone here will gladly help out. the community is very supportive |
# |
Sep 13th 2009, 02:59 |
vanir |
cool, thanks :) |
# |
Sep 13th 2009, 02:59 |
vanir |
yeah |
# |
Sep 13th 2009, 02:59 |
foofoo |
as BlackIce said, start w/ the blog tutorial and see what happens |
# |
Sep 13th 2009, 02:58 |
vanir |
i'll try it out |
# |
Sep 13th 2009, 02:57 |
vanir |
thanks |
# |
Sep 13th 2009, 02:57 |
vanir |
alright |
# |
Sep 13th 2009, 02:55 |
foofoo |
vanir: if you want structure yet still allows flexibilitiy then fire up a cake app and see if it sticks. |
# |
Sep 13th 2009, 02:55 |
foofoo |
vanir: pick one that meets your requirements. weight your needs and your wants and find what works for you |
# |
Sep 13th 2009, 02:53 |
vanir |
so basically, pick one, stick to it, and give it time |
# |
Sep 13th 2009, 02:51 |
foofoo |
vanir: you could even find a framework like drupal or joomla that have more features already available to you |
# |
Sep 13th 2009, 02:50 |
foofoo |
vanir: you have to decide for yourself, and there are plenty of options out there |
# |
Sep 13th 2009, 02:50 |
vanir |
true |
# |
Sep 13th 2009, 02:49 |
foofoo |
vanir: you're having the same conversation that a lot of us have had in our heads. we're all in this channel so you can imagine what decision we made |
# |
Sep 13th 2009, 02:48 |
BlackIce |
just start with the blog tutorial |
# |
Sep 13th 2009, 02:48 |
BlackIce |
yup |
# |
Sep 13th 2009, 02:48 |
vanir |
php is supported by more hosting providers, so i'm assuming it's easier to build and deploy something with a php-based framework, but again, where to start |
# |
Sep 13th 2009, 02:47 |
vanir |
quit after the basic stuff |
# |
Sep 13th 2009, 02:47 |
vanir |
i guess the problem i've been having is that i'm not sure which one to choose.. i got started with rails and got started with django... and kept shuffling between the two for a bit and eventually didn't end up learning to use either one properly |
# |
Sep 13th 2009, 02:40 |
foofoo |
keep asking questions about frameworks if you have them vanir |
# |
Sep 13th 2009, 02:33 |
vanir |
? |
# |
Sep 13th 2009, 02:24 |
abdelm |
If you like strict. |