What are the compatibility issues with using the button element as a submit in Internet Explorer in PHP forms?

The main compatibility issue with using the button element as a submit in Internet Explorer is that it does not submit the form data properly. To solve this issue, you can use the input element with type="submit" instead. This ensures that the form data is submitted correctly in all browsers.

<form method="post" action="submit.php">
  <input type="text" name="username" placeholder="Enter username">
  <input type="password" name="password" placeholder="Enter password">
  <input type="submit" value="Submit">
</form>