Posted by Martin Jay on 04/26/06 02:30
In message <e2maa6$rh6$1@news1.carnet.hr>, Bandul
<ivan.curac@du.htnet.hr> writes
>"Gerard Matthew" <calibishie@gmail.com> wrote in message
>news:1146002768.968670.295760@i39g2000cwa.googlegroups.com...
>> $text ="This is costumers names".
>> for(i=0; $i < $results; i++)
>> {
>> $row=mysql_fetch_array($result_query);
>> $text .= $row['name']." ".$row['blabla']."\n";
>> }
>>
>> $to = "blah@blah.com";
>> $subject = "whatever subject";
>>
>> mail($to,$subject,$text);
>>
>>
>> In the above a dot (.) could be used to join strings and .= adds to the
>> content of the string variable.
>ive try that and its still not working
>if there is some diferent or better solution.... that will be good
What does "not working" mean?
Is any email being sent at all?
Perhaps it would help to see the real portion of the code you're using.
--
Martin Jay
[Back to original message]
|