mysql_query Error
#1

Error in mysql_query: Unknown column 'Deagle' in 'field list'

help
Reply
#2

Post your mysql_query line.

And be sure that in mysql the table field Deagle Exists.
Reply
#3

http://www.sbuybasic.com/asa.JPG
Reply
#4

Quote:
Originally Posted by sakang
no, i mean in your script.

Something like this:

samp_mysql_query('SELECT Deagle FROM Weapons');
Reply
#5

MySQLUpdatePlayerInt(query, PlayerInfo[playerid][pSQLID], "Deagle", PlayerInfo[playerid][pDeagle]);
Reply
#6

Quote:
Originally Posted by sakang
MySQLUpdatePlayerInt(query, PlayerInfo[playerid][pSQLID], "Deagle", PlayerInfo[playerid][pDeagle]);
Ok, bad database

`Deagle` int(11) NOT NULL default '0',

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)