With great difficulty i was able to finish a project, however i get this error -
PHP: Undefined offset 1
error, although my code is correct(i think).
Can you please help me in finding what is the mistake am doing...
<?php
for ($i = 1; $i <= count($res1); $i++) {
    for ($j = 1; $j <= count($res); $j++) {
        if ($res1['LIEFERANT'][$i] == $res['LIEFERANT'][$j]) {
            echo $res1['LIEFERANT'][$i] = TRUE;
            echo $res1['LIEFERANT'][$j] = TRUE;
        } else {
            echo $res1['LIEFERANT'][$i] = FALSE;
            echo $res1['LIEFERANT'][$j] = FALSE;
        }
    }
}
The error occurs at if condition.
Please help in finding the error.
Thank you in advance!!
 
     
    