fix error when form was empty add condition isset($_POST['submit_board']) before insert