Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Greater Than Or Less Than
Old 01-17-2005, 12:24 PM Greater Than Or Less Than
Experienced Talker

Posts: 32
Trades: 0
I Am Trying To Recall Data From My Sql Database Where The Date Of Entry Is After 01/01/2004

I Am Using A Simple Select Query In My Php:

select * From Table Where Date_entry Is Greater Than 01/01/2004

But This Does Not Seem To Work. I'm Sure There Must Be A Simple Solution To This...

Thanks
hershel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-17-2005, 08:58 PM
dbzguy's Avatar
Ultra Talker

Posts: 345
Location: Artic
Trades: 0
PHP Code:
$sql "SELECT * FROM table_name
    WHERE YEAR(date_column) > 2005 AND
    MONTH(date_column) > 01 AND
    DAY(date_column) > 01"

__________________

Please login or register to view this content. Registration is FREE


PHP Code:
<?PHP if(ping == true) { attackuserip(); } ?>
dbzguy is offline
Reply With Quote
View Public Profile
 
Old 01-18-2005, 05:07 AM
Experienced Talker

Posts: 32
Trades: 0
nice one- cheers
hershel is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Greater Than Or Less Than
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11364 seconds with 12 queries