When I'm executing this code-
public $speaker_list=array();
for($i=0;$i<$nbre_speaker;$i++)
{
$speaker_list[$i]=new Speaker($_POST['speaker'+$i],$_POST['pro_speaker'+$i],$_POST['bio_speaker'+$i]);
}
I'm getting the error:
Notice: Undefined offset: 0
Notice: Undefined offset: 1