Minor MySQL question.
#7

Код:
SELECT UNIX_TIMESTAMP(datefield) FROM bans WHERE ....

if(gettime() > mysql_fetch_int()) => expired
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)