Mailinglisten-Archive |
Hi!
Holger Kettler <kettler_(at)_his.de> schrieb:
> Kann mir jemand verraten, wie ich eine beim auslesen eine leere Zeile erkenne?
Probier doch mal:
$row = nl2br($row);
$row = trim($row); // LZ entfernen
if($row == "<BR>")
{
echo "Leere Zeile!";
}
PS: HTML-Mails sind hier unerwünscht...
Malte
--
[ - - - - - - - - - - - - - - - - - - - - - - - - - ]
[ M - A - L - T - E - S - C - H - O - M - E - R - S ]
[ mschomers_(at)_gmx.de | www.malte.de.cx | icq 39453721 ]
[ - - - - - - - - - - - - - - - - - - - - - - - - - ]
php::bar PHP Wiki - Listenarchive