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; } }
- Re: [PHP] contents of fetch array into a string Kris Vose
- Re: [PHP] contents of fetch array into a string Steve Cayford