You need some more code (if this hasn't been resolved already).
what i would suggest is using the explode function to split the string in two where it finds a space, example:
if (strpos($row['EMAIL']," ") !== FALSE) {
$EMAILS = explode(" ",$row['EMAIL']);
foreach ($EMAILS as $EMAIL) {
print "<td align=left width=80% valign=top><font face=Verdana size=2 color=#000000><a href='mailto:{$EMAIL}'>{$EMAIL}</a>";
}
}
else {
print "<td align=left width=80% valign=top><font face=Verdana size=2 color=#000000><a href='mailto:{$row['EMAIL']}'>{$row['EMAIL']}</a>";
}
You can use the same code for the URLS, just change the appropriate variable names.
A word of warning though, if the amount of EMAILS and URLS are not the same your tables may mess up
--- Dave