I have a problem with reading the contents of $r[1] into a string called = $mail.  
Does anyone have any suggestions?  Any help is greatly appreciated.
 
Kris Vose
 
 
if ($czero != "")
{
 
$t = mysql_query("SELECT * FROM AddExisting");
 
$number_of_customers = count($t);
 
while($r = mysql_fetch_array($t))
{
extract($r);
 
  for ($i = 0; $i<$number_of_customers; $i++)
  {
    echo $r[1].", ";
  }
 
}
 
$mail = ' ';
foreach($r[1] as $mailline)
{
$mail.=$mailline;
}
 
}
 


Reply via email to