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

Posted by Bandul on 04/26/06 02:11

Hi
ive try that and its still not working
if there is some diferent or better solution.... that will be good

Thanks Ivan

"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.
>

 

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

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