I have a form with following if-statement's but it doesn't work. The First verification "If empty" does work but not the second one with mb_strlen, why?
That's my PHP-Code:
elseif(empty($_POST['project_title']) OR
(mb_strlen($_POST['project_title'], 'UTF-8') <= 3)){
echo "Please correct the Project Title";}
I don't get also any error. Do I have some Syntax mistakes in my Code?