Warning: Undefined offset: 2 in /home/blabla.bla/www/main.php on line 131
and how can i avoid it?
My script works fine but i want to get rid of that warning
of course without changing anything in php.ini
I have one page where i tick checkboxes with the name selectdb[]
and then i have the script:
Code: Select all
while($selected_dbї$i]!=''){
echo'<p align="center"><b>'.$selected_dbї$i].'</b></p>';
$i++;
}