[HELP]Datetime mysql table
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Instead of your variables, insert one of these MySQL functions (literal): NOW() or UNIX_TIMESTAMP(). Not sure if any of these work, as I always use plain unix timestamps (https://sampforum.blast.hk/showthread.php?tid=254915).

So your query will look like:
PHP код:
INSERT INTO `%s` (`Name`, `Password`, `Ip`, `Date_Registration`, `Money`, `Score`, `Kills`, `Deaths`) VALUES('%s'md5('%s'), '%s'NOW(), 0000); 
Thanks
Reply


Messages In This Thread
[HELP]Datetime mysql table - by TheBluec0de - 19.06.2012, 12:52
Re: [HELP]Datetime mysql table - by Vince - 19.06.2012, 13:00
Re: [HELP]Datetime mysql table - by TheBluec0de - 19.06.2012, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)