if form is submitted php
snippet in php

if form is submitted php

user7140

if (!empty($_POST))
if (isset($_POST['submit']))