I also tried to do it much more easier:
Code: Select all
$validated = (!empty($_POST['Frage1'][$key]) && !empty($_POST['Frage2'][$key]));
if (!$validated) {
echo "incorrect";
}
else
{
//UPDATE...Maybe not exactly what I want, but not so bad, don't you think? But I will also try your thoughts.
Thank you! Thank you! Thank you!