I have a problem to update my sql
<?php
$host="localhost"; // Host name
$username="matanc_cmd"; // Mysql username
$password="123123"; // Mysql password
$db_name="matanc_cms"; // Database name
$tbl_name="content"; // Table name
// Connect to server and select database.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
// get value of id that sent from address bar
$id=$_GET['id'];
// Retrieve data from database
$sql="SELECT * FROM $tbl_name WHERE id='$id'";
$result=mysql_query($sql);
$rows=mysql_fetch_array($result);
?>
<table width="400" border="0" cellspacing="1" cellpadding="0">
<tr>
<form name="form1" method="post" action="update_ac.php">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td> </td>
<td colspan="3"><strong>Update data in mysql</strong> </td>
</tr>
<tr>
<td align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
<td align="center"><strong>Name</strong></td>
<td align="center"><strong>Lastname</strong></td>
<td align="center"><strong>Email</strong></td>
</tr>
<tr>
<td> </td>
<td align="center">
<input name="title" type="text" id="title" value="<? echo $rows['title']; ?>">
</td>
<td align="center">
<input name="discription" type="text" id="discription" value="<? echo $rows['discription']; ?>" size="15">
</td>
<td>
<input name="content" type="text" id="content" value="<? echo $rows['content']; ?>" size="15">
</td>
</tr>
<tr>
<td> </td>
<td>
<input name="id" type="hidden" id="id" value="<? echo $rows['id']; ?>">
</td>
<td align="center">
<input type="submit" name="Submit" value="Submit">
</td>
<td> </td>
</tr>
</table>
</td>
</form>
</tr>
</table>
<?php
// close connection
mysql_close();
?>
and that is the second page code
<?php
$con = mysql_connect("localhost","matanc_cmd","123123");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("matanc_cms", $con);
mysql_query("UPDATE content SET title='title', discription='discription', content='content'
WHERE id='id'");
mysql_close($con);
// if successfully updated.
if($result){
echo "Successful";
echo "<BR>";
echo "<a href='show.php'>View result</a>";
}
else {
echo "ERROR";
}
?>
What is wrong in the code ?