Error with mysql INSERT
#1

hello, my code doesnt insert business info into database, and i get this error

[20:25:00] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'Storm_alle' in 'field list'

Storm_alle is my nickname


my line:

Код HTML:
	format(query, sizeof(query), "INSERT INTO `verslai`(Savininkas, Pavadinimas, VerslasNupirktas, VersloFondas, VersloKaina)VALUES(%s,%s,%d,%d,%d)", GetPlayerNameEx(playerid), vInfo[V][VersloPavadinimas], vInfo[V][VerslasNupirktas], vInfo[V][VersloFondas], vInfo[V][VersloKaina]);
					Db = mysql_tquery(Db, query);
Reply
#2

help!
Reply
#3

okey i fixed it myself, dumb me forgot about ` and '
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)