Well, if you truly mean split by row, if $emaillist contains them all:

$earray = explode("\n",$emaillist);

Then, if you wanted each email address in it's own subarray position:

for($counter = 0; $counter < count($earray); $counter++)
{
$earray[$counter] = explode(";",$earray[$counter]);
}

That would give you:

$earray[0][0] = "[EMAIL PROTECTED]";
$earray[0][1] = "[EMAIL PROTECTED]";
$earray[0][2] = "[EMAIL PROTECTED]";
$earray[1][0] = "[EMAIL PROTECTED]";

Etc, assuming you had 3 email's per line.
-- 
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to