What are the potential security risks of using GET method for form submission in PHP?

Using the GET method for form submissions in PHP can expose sensitive information, such as user credentials, in the URL. This information can be easily accessed and viewed by malicious users, posing a security risk. To mitigate this risk, it is recommended to use the POST method for form submissions, as it does not expose the data in the URL.

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