How to test if a form is submitted in PHP?

We live in a very busy world, and sometimes we try to get things done quick-and-dirty. One of the most popular examples is to create a PHP script that renders a view and also handles form submission (action). So, what is the best w...]