switch ($status){
case "ชำระแล้ว";
$sql="Update $tbluser set status='0' WHERE id = '$id';";
mysql_db_query($db,$sql);
header("Location: $PHP_SELF");
break;
case "รอการชำระ";
$sql="update $tbluser set status='1' where id = '$id';";
mysql_db_query($db,$sql);
header("Location: $PHP_SELF");
break;
}