Selamlar;
Notice: Undefined offset 1 on line 27
Notice: Undefined offset 4 on line 27
hatası alıyorum.
27. satır şu:
if ($excel->sheets[0]['cells'][$x][$y]=="17/11/2016"){
yardımcı olabilirseniz çok sevinirim.
kodun tamamı:
$excel->read('sample.xls');
$x=1;
while($x<=$excel->sheets[0]['numRows']) {
echo "\t\n";
$y=1;
while($y<=$excel->sheets[0]['numCols']) {
if ($excel->sheets[0]['cells'][$x][$y]=="17/11/2016"){
$cell = isset($excel->sheets[0]['cells'][1][$y]) ? $excel->sheets[0]['cells'][1][$y] : '';
echo "\t\t$cell\n";
}
else{$cell=null;
}
$y++;
}
echo "\t\n";
$x++;
}
?>