What are the potential pitfalls of using the "get" method in a form submission in PHP?

Using the "get" method in a form submission in PHP can expose sensitive data as it appends form data to the URL, making it visible and easily accessible. To avoid this security risk, it is recommended to use the "post" method instead, which sends form data in the HTTP request body, keeping it hidden from users.

<form method="post" action="process_form.php">
  <!-- form fields go here -->
</form>