query($sql); $row = $result->fetch_assoc(); if(!empty($_POST['form_id'])) { $actionPage='updates.php'; }else{ $actionPage='submit.php'; } ?>