You will want to place the $postbtn = $_POST['post']; line before if ($postbtn) as it will always result to false.
$postbtn = isset($_POST['post']);
if ($postbtn){
But be careful: As John pointed out, your code is vulnerable to SQL injection attacks. You should take a look at this post how to prevent these.