Minor MySQL question.
#1

Well.. I have done this before with PHP, just can't remember how I did it.

I have a tables called bans, where I have something called date. This is the date the player is going to be unbanned. How can I check on login if that date has past?

I remember a php function called date_diff or something, anything alike in pawn or do I have to make som magic with MySQL queries?
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)