<?php if ($_POST['type'] == 1) { //обрабатываешь первую форму } elseif ($_POST['type'] == 2) { //обрабатываешь вторую форму }
Standard input is empty
Standard output is empty
PHP Notice: Undefined index: type in /home/zhxbvT/prog.php on line 3 PHP Notice: Undefined index: type in /home/zhxbvT/prog.php on line 5