After form submission want to show success message in the form page

You need to pass the variable and its value in GET method to display the success message which you’re already doing.

Now, in your PHP file, display a message based on the GET parameter and its value.

if($_GET['message'] == 'success'){ 
  //display your message 
}