1.
$sql_1
=
"update table_1 set user='$user', pass='$pass', name='$name', email='$email', address='$address' where id='$id' "
;
2.
3.
$result
=mysql_db_query(
$dbname
,
$sql_1
);
4.
5.
$sql_2
=
"update table_2 set user='$user', pass='$pass', name='$name', email='$email', address='$address' where id='$id' "
;
6.
7.
$result
=mysql_db_query(
$dbname
,
$sql_2
);