What are the limitations of using a normal link to submit a form in PHP compared to a submit button?

Using a normal link to submit a form in PHP does not trigger the form submission process, as it does not send the form data to the server. To fix this issue, you should use a submit button within the form to properly submit the form data.

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