<?php
$con = mysql_connect("localhost","root","root");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("s", $con);
mysql_query("UPDATE samp SET g = g + 1 WHERE 1 = 'a' AND 2 = 'b'");
mysql_close($con);
?>