interbase + php + odbc

admin

Administrator
Staff member
when i try this code, i had a message error:Warning: SQL error: [XTG Systems][InterBase6 ODBC Driver], conversion error from string "", SQL state HY000 in SQLExecDirect in C:\Inetpub\wwwroot\reshotel\scripts\inclusao.php on line 35

$sql = "INSERT INTO USUARIOS ( u_usuario,u_nome,u_fone,u_celular,u_email,u_endereco,u_bairro,"
."u_cidade,u_estado,u_pais,u_cep,"
."u_docum,u_apelido,u_senha) VALUES
('$proximo','$nome','$fone','$celular','$email','$endereco','$bairro',
'$cidade','$estado','$pais','$cep',
'$docum','$apelido','$senha')" ;
$query = odbc_exec($con,$sql);

what i have doing wrong ?
 
Back
Top