how to update date using phpmysql
<p>This is how,i insert data into db,but now,i want a particular column to update,how do i do?</p>

<p>

<p>$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }</p>

<p>mysql_select_db("form", $con);</p>

<p>$sql="INSERT INTO Customer (Name, Address, City, Pincode, State, Country, Phone, Mobile, Fax, Email, Website, Notes)
VALUES
('$_POST[name]','$_POST[address]','$_POST[city]','$_POST[pincode]','$_POST[state]','$_POST[country]','$_POST[phone]','$_POST[mobile]','$_POST[fax]','$_POST[email]','$_POST[url]','$_POST[notes]')";</p>

<p>if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
echo "1 record added";</p>

<p>mysql_close($con);</p>

<p>?></p>
