Minor MySQL question.
#8

Quote:
Originally Posted by Sergei
Посмотреть сообщение
Код:
SELECT UNIX_TIMESTAMP(datefield) FROM bans WHERE ....

if(gettime() > mysql_fetch_int()) => expired
Lol just noticed something weird when inserting, I'm inserting, I use NOW(). Returns
Quote:

2011-01-01 00:00:01

probably the server watch?
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: 2 Guest(s)