RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | webmastering
Notice: Undefined offset: ( PHP 4)
Léa, le jeu. 20 mai 2004 à 15:58:35
Bonjour,

Le code suivant :

$i=0;
while($i<=sizeof($line)){
$dataPair=explode(",",$line[$i]);
if($dataPair[0]==$login){
$auth=1;
break;
}else{
$auth=2;
}
$i++;
}

me renvoie ceci :

Notice: Undefined offset: 5 in f:\...\...\script.php on line 40
Ce qui correspond à cette ligne : $dataPair=explode(",",$line[$i]);

Une idée?

Merci.

Léa


Taboujr
mai 04
Suivant
REPONSES
Taboujr
mai 04
Léa
mai 04
-CCM-
19 janv.
Version Web
Réalisé par RedShift
no save