I am very new to PHP and MySQL when I run my code, I get this error: " You There is an error in your SQL syntax, checking that the correct syntax matches your server version to use '', '', '', '',
& lt requires ;? Php (connect '' .php '); $ username = mysql_real_escape_string ($ _ POST [' name ']); $ password = mysql_real_escape_string ($ _ POST [' password ']); $ Num = mysql_real_esc ape_string ($ _ POST [ 'Phnom']); $ Cognome = mysql_real_escape_string ($ _ POST [ 'Cognome']); [ 'email' $ email = mysql_real_escape_string ($ _ POST]); $ Città = mysql_real_escape_string ($ _ POST [ 'Sitta']); through through $ = mysql_real_escape_string ($ _ POST [ ']); $ Civico = mysql_real_escape_string ($ _ POST [' Civico ']); $ hat = mysql_real_escape_string ($ _ POST [ 'Caps']); $ cf = mysql_real_escape_string ($ _ post ['cf']); $ Telefono = mysql_real_escape_string ($ _ post ['Telefono']); $ NumeroCarta = mysql_real_escape_string ($ _ post ['NumeroCarta']); $ Scadenza = mysql_real_escape_string ($ _ post ['scadenza']); $ Cvv = mysql_real_escape_string ($ _ post ['cvv']); $ TipoCarta = mysql_real_escape_string ($ _ post ['TipoCarta']); If (isset ($ _ POST [ 'submit']) {$ flag = 0; $ Query = mysql_query ( "SELECT * FROM cliente WHERE username = '". $ Username. "'"); If (mysql_num_rows ($ query )
{if ($ username) {echo ' p Usg name & amp; agrove in uso & lt; / p & gt; & lt; br / & gt; ; Echo "pylon alla
Comments
Post a Comment