First of all, let me tell you that I am a beginner in PHP & SQL. So, bear with me.
I have a table with only one row and one column that is Date\_Latest.
I have to edit this field. The following is my code in PHP:-

```
$result = "UPDATE Admin SET Date_Latest='$dt'";
if(mysql_query($result){
echo "SUCCESS";
}
else
{echo "OOPS! SOMETHING WENT WRONG";}
}

```

The code is not working. Any help will be appreciated.