0
I have a field in my database table Mysql with the name 'description', with the special accents.
My problem is this:
When I make a INSERT INTO
using directly the phpMyAdmin, it normally inserts the information into the table, but when using the mysql in the application it returns the following error.
This is my sql code:
INSERT INTO caixa_geral_dc (
descrição,
empresa,
valor_c_d,
conta,
categoria,
d_c,
usuario)
VALUES
('GUARDA PROVISÓRIA DE VALORES',
'$nome_cliente[$i]',
'$v_recebido&[$i]',
'7',
'197',
'c',
'$_SERVER[nomeUsuario]')
I await answers.
Thank you
I did what you recommended. Thanks for the help, but it now returns: 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 '[description], ' at line 2
– WebCraft
@netoweb I’ll take a look and I’ll get back to you
– Leo Longhi
Okay. Thanks for your help, buddy
– WebCraft
Updated, but also sent a new reply
– Leo Longhi
For the first time I came across this situation, rsrsrs
– WebCraft
the name cannot be changed ?
– Leo Longhi
I’ll talk to my supervisor about it. Anything I return here
– WebCraft
Unfortunately it will not be changed for now.
– WebCraft