Little help with Auto create table
#1

Hi. Could someone please help me with this. how to create a table from phpmyadmin?

Here is the useful data needed to create to be able to make a player registration.

PHP код:
getdate(year,month,day);
gettime(hour,minute,second);
format(TempQuerysizeof TempQuery,"INSERT INTO `"Users_Table"` (Username, Password, IP, Money, Score, Level, NitroType, Autofix, Fightstyle, SkinID, SB, AcceptPM, Kills, Deaths, Hours, Mins, Goto, Regged, LastOn) VALUES ('%s', sha1('%s'), '%s', '%i', '%i', '0', '0', '0', '0', '-1', '1', '1', '%i', '%i', '0', '0', '%i', '%02d.%02d.%02d','%02d.%02d.%02d at %02d:%02d:%02d')",
GetPName(playerid),szPass,PIP,GetPlayerMoney(playerid),GetPlayerScore(playerid), PInfo[playerid][Kills],PInfo[playerid][Deaths],
 
PInfo[playerid][GotoToggle], day,month,year,day,month,year,hour,minute,second); 
Because I don't have the dump file of .sql for this. so I have no choice but to make a new one.
Reply
#2

http://www.w3schools.com/sql/sql_create_table.asp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)