Bonjour,
Je teste si mon fichier txt contient une ligne blanche (après l'avoir ouvert avec un file).
Vous pouvez me dire pouquoi ça marche pas, voici la ligne:
preg_match('/\s/|\n\r/',$tab[$i]);
$tab[$i] est la ligne lue dans le tableau.
Merci de votre aide.
Partager