Hi,
I am selecting a few emailadresses and I can't get the result to be in one $.
Here is my code:
$sql = "SELECT email FROM ce_mailupdate WHERE lang='$lang' AND location='$location' AND subscribe='1'";
$result = mysql_query($sql) or die;
$num = mysql_num_rows($result);
$cur = 1;
while ($num >= $cur){
$row = mysql_fetch_array($result);
$email = $row["email"];
echo "$email, ";
$cur++;
}
This gives me a list of all the selected email adresses. But how can I make it happen that this result, now echo-ed, comes into i.e. the $bccmail
??
I have no clue!
If some one can help me with this it would be great!