This is the query you said you tried:
$update = mysql_query("
UPDATE
$tbl_name
SET
name = '" . mysql_real_escape_string($_POST['edited1']) . "',
telephone = '" . mysql_real_escape_string($_POST['edited1']) . "',
address = '" . mysql_real_escape_string($_POST['edited2']) . "'
WHERE
name = '" . mysql_real_escape_string($_REQUEST['name']) . "',
telephone = '" . mysql_real_escape_string($_REQUEST['telephone']) . "',
address = '" . mysql_real_escape_string($_REQUEST['address']) . "'
or die(mysql_error())
");
What error message did you get?
Maybe try separating the query from the execution of the query.
Also, perhaps try updating the value in the DB based on the userID (this would be the auto-incremented primary key in your DB table...):
$query = "UPDATE $tbl_name
SET
name = '" . mysql_real_escape_string($_POST['name']) . "',
telephone = '" . mysql_real_escape_string($_POST['phone']) . "',
address = '" . mysql_real_escape_string($_POST['address']) . "'
WHERE
userID = " . (int)$_POST['userID'] . "
LIMIT 1";
$result = mysql_query($query) or exit(mysql_error());