[SOLVED] I Want to get rid of this Warning: Undefined offset
Posted: Wed Jul 28, 2004 4:12 am
Can anyone explain me what is
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:
Thanks a lot guys!
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++;
}