Hi sorry, I misunderstood your problem, it was not too clear to me as the code you list shouldn't produce the output you supplied.
try this:
$array = explode(',', $csv);
print "<br>= " . $array[0] . "\n";
print "<br>= " . $array[1] . "\n";
for ($i = 2; $i < count($array); ++$i) {
$txt.= "<br />=" . $array[$i] . "\n";
}
print $txt;
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
