How To Check If The Submit Button Was Clicked Using PHP

 

This is a simple function to check whether the submit button was clicked in a HTML form. This function can also be the first steps, in preventing people from spamming!

 

Script Source

 

if (isset($_POST['Submit'])) {

 

Please let me know if this script was helpful to you.

[rating]