skip to Main Content

PHP – for loop with POST validation

I'm new to PHP and I'm doing some very simple apps (testing). I've got a form with the following code: if ($_SERVER["REQUEST_METHOD"] == "POST") { if (empty($_POST["val1"])) { $err_val1 = "Error"; } else { $val1 = test_input($_POST["val1"]); } } function…

VIEW QUESTION
Back To Top
Search