Adding closing connection of SQL to edit_post.php