Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-07-15, 05:14 AM   #1
Porn Junkie
I've always wondered if there was a god. And now I know there is -- and it's me
 
Porn Junkie's Avatar
 
Join Date: Apr 2007
Location: Canada Eh!
Posts: 325
Send a message via ICQ to Porn Junkie
worked like a freakin charm!

Greatly appreciated JK
__________________
EzAngels EzLinks - Submit here
Porn Junkie is offline   Reply With Quote
Old 2007-07-19, 09:56 AM   #2
AcidMaX
Programming till my fingers bleed.
 
AcidMaX's Avatar
 
Join Date: Aug 2003
Location: Michigan
Posts: 876
Other options are:

SELECT * FROM tablename WHERE date = now();

OR

SELECT * FROM tablename WHERE date BETWEEN '2007-06-01 00:00:00' AND '2007-06-01 23:59:59'

really depends on your database structure. Always multiple ways to skin a cat.
AcidMaX is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:38 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc