04.08.2010, 17:41
Yeh, I got the PHP part. and the query set.
How/Where can I get something for dob (Date of Ban)?
Like, it would show 8/04/10?
How/Where can I get something for dob (Date of Ban)?
Like, it would show 8/04/10?
Код:
stock CreateBan(playerid) { new query[512],name[MAX_PLAYER_NAME]+1; GetPlayerName(playerid, name, sizeof(name)); format(query, sizeof(query),"INSERT INTO bans (name, dob) VALUES ('%s', '%s')",name,dob); mysql_query(query); return 1; }