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

Javascript mail form validator

I'm testing a javascript code to validate an email form with confirmation email. When I enter a confirmation email, its field remains in "success" mode even if I insert only one character equal to that of the email field, regardless…

VIEW QUESTION
Back To Top
Search