matrixindicator
IS-IT--Management
I compose an emaillist, quotes are required. I am struggling to put quotes around every email address. Syntax problem.
thanks in advance
Code:
<?php
while($data = postgressql_fetch_array($result))
{
$to = ($nrto <> $count_rows ? $data['Eemail']",": $data['Eemail']);
$nrto = $nrto + 1;
$to = $to + $data['Eemail']; //of $to++;
echo $to;
}
?>
thanks in advance