You are here: Re: mail function and mysql data « All PHP « IT news, forums, messages
Re: mail function and mysql data

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация