if(isset($_POST["submit"])){
$sql="UPDATE member SET status = 'ok'
WHERE name_lasname='".$_POST['name_last']."' AND mail='".$_POST['mail']."' AND tele_num='".$_POST['phone']."'";
if(mysql_query($sql)){
echo "Update เรียบร้อย";
}else{
echo "Update ไม่ได้";
}
}