ciao ancora,
questa query non va mi restiruisce queto errore
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 '' at line 1
Codice PHP:<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_utenti = "localhost";
$database_utenti = "xxx";
$username_utenti = "xxxxxxxx";
$password_utenti = "xx";
$utenti = mysql_pconnect($hostname_utenti, $username_utenti, $password_utenti) or trigger_error(mysql_error(),E_USER_ERROR);
$ip= $_POST['ip'];
$id= $_POST['id'];
$password= md5 ($_POST['password']);
$updateSQL = "UPDATE member SET ip=$ip password=$password WHERE id =$id" ;
mysql_select_db($database_utenti, $utenti);
$Result1 = mysql_query($updateSQL, $utenti) or die(mysql_error());
header("location: [url]http://google.it[/url]");
?>

Rispondi quotando