Maximum SQL Table Fields ?
#1

hello,

so yeah as the title says..

let me explain:

In my table there is 5 fields, no problem right?, the problem starts when I add a new field to them; it doesn't save then,
why? (or it's from my code) ?

PHP код:

    
new Query[128];
    new 
PlayerName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridPlayerNameMAX_PLAYER_NAME);
    
format(Query128"INSERT INTO `USERS` (`NAME`, `PASSWORD`, `ADMINLEVEL`, `CASH`, `SCORE`) VALUES ('%s','%s','0','0','0')"DB_Escape(PlayerName), DB_Escape(inputtext));
    
db_query(DataBaseQuery); 
This one above saves.

PHP код:

    
new Query[128];
    new 
PlayerName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridPlayerNameMAX_PLAYER_NAME);
    
format(Query128"INSERT INTO `USERS` (`NAME`, `PASSWORD`, `ADMINLEVEL`, `CASH`, `SCORE`, `SKIN`) VALUES ('%s','%s','0','0','0', '0')"DB_Escape(PlayerName), DB_Escape(inputtext));
    
db_query(DataBaseQuery); 
This one ^^, doesn't but why?

any help will be appreciated!!
~Thanks~
Reply


Messages In This Thread
Maximum SQL Table Fields ? - by Youice - 08.02.2013, 11:43
Re: Maximum SQL Table Fields ? - by iggy1 - 08.02.2013, 11:55
Re: Maximum SQL Table Fields ? - by Youice - 08.02.2013, 12:08
Re: Maximum SQL Table Fields ? - by iggy1 - 08.02.2013, 12:15
Re: Maximum SQL Table Fields ? - by Youice - 08.02.2013, 12:19
Re: Maximum SQL Table Fields ? - by iggy1 - 08.02.2013, 12:23
Re: Maximum SQL Table Fields ? - by Youice - 08.02.2013, 12:28
Re: Maximum SQL Table Fields ? - by SuperViper - 08.02.2013, 14:22
Re: Maximum SQL Table Fields ? - by AaronKillz - 08.02.2013, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)