Hi, in "insira seu nome" only register numbers, if try any letters return this error:
ERROR:
: DB error - Unknown column 'Jose' in 'field list'
[Debug]: at script.cpp:17079 - UPDATE login SET nome = Jose WHERE account_id = 2000100
Quote
CODE:
mes .@n$;
mes "Insira seu nome";
input(.@nome$);
query_sql("UPDATE login SET nome = "+ .@nome$ +" WHERE account_id = "+ getcharid(3));
next;
mes .@n$;
mes "Insira seu CPF";
input .@cpf$;
query_sql("UPDATE login SET cpf = "+ .@cpf$ +" WHERE account_id = "+ getcharid(3));
next;
mes .@n$;
mes "Insira sua chave";
input .@chave$;
query_sql("UPDATE login SET chave= "+ .@chave$ +" WHERE account_id = "+ getcharid(3));
next;
mes .@n$;
mes "Cadastro realizado com ^008000sucesso.^000000";
close;
Question
Westin
Hi, in "insira seu nome" only register numbers, if try any letters return this error:
ERROR:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.