$hostname = "servidor";
$username = "xx";
$password = "xxxxx";
$dbName = "zzzz";
MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE NO RESPONDE");
$result = MSSQL_QUERY("Update Intranet Set Importe = 0 where Clave = 12");
if(!$result){
echo "Update Data Error<br>";
}
//echo "Update Data Success";
?}>
Code: Select all
<?php
?>