また、<form> <form method='post'>である必要があります
onclick = post()の代わりに name='post'に変更します
function post(){の代わりに if($_POST['post']){にします
また、<form> <form method='post'>である必要があります
onclick = post()の代わりに name='post'に変更します
function post(){の代わりに if($_POST['post']){にします