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
FORM - time limited ?
Old 08-19-2006, 10:10 AM FORM - time limited ?
tomcat_fo's Avatar
Ultra Talker

Posts: 275
Trades: 0
In one of my forms I have a field with the number of days the things in the form should be visible on my website..... how would the MySQL look for something like that.

What i need is something in the direction of current date, and the chosen number of days ahead in the future.



I use this line in a thing that does something simular, but just back in time (my top-links list past chosen number of days)

"SELECT * FROM toplinks WHERE DATE_SUB(CURDATE(),INTERVAL 7 DAY) <= date")
tomcat_fo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to FORM - time limited ?
 

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.07765 seconds with 12 queries