mysql insert
#1

hello. how i can fix this?

PHP код:
stock AddLabelToFile(text[], Float:xFloat:yFloat:zFloat:distancewv)
{
    new
        
EscString[128];
    
mysql_real_escape_string(textEscString);
    
format(querysizeof(query), "INSERT INTO `3dtextlabel` (text, x, y, z, distance, wv) VALUES(%s, %f, %f, '%f', '%f' '%i')",EscStringxzydistancewv);
    
mysql_query(sqldbquery);
    
mysql_free_result();
    return 
1;

bug:
PHP код:
[16:43:40] [DEBUGmysql_query connection1query"INSERT INTO `3dtextlabel` (text, x, y, z, distance, wv) VALUES(a"use_cachetrue
[16:43:40] [DEBUGCMySQLQuery::Execute starting query execution
[16:43:40] [ERRORCMySQLQuery::Execute - (error #1054) Unknown column 'asd' in 'field list' 
Reply


Messages In This Thread
mysql insert - by n00el - 13.05.2014, 14:29
Re: mysql insert - by Luis- - 13.05.2014, 14:32
Re: mysql insert - by Vince - 13.05.2014, 14:34
Re: mysql insert - by n00el - 13.05.2014, 14:36
Re: mysql insert - by Luis- - 13.05.2014, 14:36
Re: mysql insert - by n00el - 13.05.2014, 14:39
Re: mysql insert - by n00el - 13.05.2014, 14:44
Re: mysql insert - by n00el - 13.05.2014, 15:11
Re: mysql insert - by Madd92 - 13.05.2014, 15:28
Re: mysql insert - by n00el - 13.05.2014, 15:32

Forum Jump:


Users browsing this thread: 2 Guest(s)