I don't know why can't I update?
Coding show as below:
<?php
$con = mysql_connect("example.com","user","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("germanpo_gpweb", $con);
$refnum = $_POST['reference_num'];
$recetel = $_POST['receiver_tel'];
mysql_query("UPDATE `order`
SET `receiver_tel` = '".$recetel."'
WHERE `reference_num` = '".$refnum."'");
mysql_close($con);
?>
<p align="center"><? echo "$refnum , $recetel"; ?></p>
I can show $refnum and $recetel value on web page.
And I make sure database table name is order. Two field receiver_tel and reference_num are correct.