query($sql)) { die('There was an error running the query [' . $conn->error . ']'); }else{ echo'inserted'; } ?>