Minor MySQL question.
#3

Quote:
Originally Posted by Grim_
Посмотреть сообщение
You can do it either way really. Just compare the data you are retrieving from the database to the current date in the query. Vice versa, you could do it after you retrieve the query and compare the dates.
Well wouldn't that be complicated if the date has passed? Can't really use if(date1 < date2).
Reply


Messages In This Thread
Minor MySQL question. - by _rAped - 01.01.2011, 16:11
Re: Minor MySQL question. - by Grim_ - 01.01.2011, 16:15
Re: Minor MySQL question. - by _rAped - 01.01.2011, 16:16
Re: Minor MySQL question. - by Sergei - 01.01.2011, 16:17
Re: Minor MySQL question. - by _rAped - 01.01.2011, 16:18
Re: Minor MySQL question. - by DVDK - 01.01.2011, 16:19
Re: Minor MySQL question. - by Sergei - 01.01.2011, 16:20
Re: Minor MySQL question. - by _rAped - 01.01.2011, 16:23
Re: Minor MySQL question. - by Sergei - 01.01.2011, 16:27
Re: Minor MySQL question. - by _rAped - 01.01.2011, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)