[Ajuda] INSERT INTO
#1

Bom esta dando erro ao criar....

PHP код:
                new Query[100];
                
mysql_format(IDConexaoQuerysizeof(Query), "INSERT INTO `Label`(`Texto`=%s, `LabelX`=%f, `LabelY`=%f, `LabelZ`=%f)"inputtextPos[0], Pos[1], Pos[2]);
                
mysql_tquery(IDConexaoQuery"Dados1""i"playerid);
                
SendClientMessage(playerid0x00FF80AA"Label Criado!");} 
e:

PHP код:
forward Dados1(playerid);
public 
Dados1(playerid)
{
    
PlayerInfo[playerid][lID] = cache_insert_id();
    
printf("DEBUG- Novo label registrado ID: %d"PlayerInfo[playerid][lID]);
    return 
1;

no mysql_log:

PHP код:
[15:23:01 07/22/17] [ERRORCMySQLQuery::Execute[Dados1] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '={FF0000}> Hello <, `LabelX`=132.0, `LabelY`=-67.291, `LabelZ`=1.578)' at line 1 (Query: "INSERT INTO `Label`(`Texto`={FF0000}> Hello <, `LabelX`=132.0, `LabelY`=-67.291, `LabelZ`=1.578)") 
Reply


Messages In This Thread
INSERT INTO - by GustavoSouza - 22.07.2017, 18:35
Re: INSERT INTO - by BrianFaria - 22.07.2017, 20:30
Re: INSERT INTO - by GustavoSouza - 22.07.2017, 20:44
Re: INSERT INTO - by BrianFaria - 22.07.2017, 21:34

Forum Jump:


Users browsing this thread: 2 Guest(s)