What are the advantages and disadvantages of using GET and POST methods for form submissions in PHP?

When submitting forms in PHP, using the GET method appends form data to the URL, making it visible in the browser's address bar. This can be useful for bookmarking or sharing URLs but may not be suitable for sensitive information. On the other hand, using the POST method sends form data in the HTTP request body, keeping it hidden from users. However, this method is not bookmarkable and may require additional steps to resend form data.

<form action="process_form.php" method="post">
  <!-- form fields go here -->
  <input type="submit" value="Submit">
</form>