What are the potential security risks associated with using GET method for form submissions in PHP?

Using the GET method for form submissions in PHP can expose sensitive information such as user credentials or other data in the URL, making it vulnerable to interception by malicious users. To mitigate this security risk, it is recommended to use the POST method for form submissions instead, as it keeps the data hidden from the URL.

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