Mailinglisten-Archive |
Hi,
hab ein winziges Problem,
folgendes Script läuft, gibt aber eine Fehlermeldung aus:
<?
//Einlesen des Arrays der Datei kup.dat
$afkup = file("data/kup.dat");
for ($i=0;$i<11;$i++){
$abkup[$i] = explode("-", $afkup[$i]);
}
echo $abkup[0][1];
echo $abkup[0][6];
echo $abkup[1][1];
echo $abkup[1][6];
for ($i=0;$i<11;$i++){
}
?>
Die Fehlermeldung ist:
Warning: Undefined offset: 2 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 3 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 4 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 5 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 6 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 7 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 8 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 9 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Warning: Undefined offset: 10 in c:\programme\apache
group\apache\htdocs\kupuebersicht.php on line 7
Gruß,
Till Schrader
www.tillsoft.com
php::bar PHP Wiki - Listenarchive