milbradt
New Member
- Joined
- Dec 25, 2011
- Messages
- 177
- Solutions
- 1
- Reaction score
- 4
The lua language using :
How do the same for mysql?
Example in lua:
In sql would it?(page php)
Code:
os.time()
Example in lua:
Code:
getPlayerStorageValue(uid, storage, os.time() + time)
In sql would it?(page php)
Code:
$SQL->query("INSERT INTO `player_storage` (`player_id` ,`key` ,`value`) VALUES ('".$player->getId()."', '999', 'UNIX_TIMESTAMP('time')')");
Last edited: