On Thu, 5 Apr 2001 16:27, you wrote:
> Hi!
>
> Do u mean the code should be like this?
>
>
> $connect = mysql_connect();
> $query = "select email from table";
> $execute = mysql_db_query("database", $query);
> while($r=mysql_fetch_array($execute))
> {
> $try = $r('email');
Your syntax is wrong h
On Wed, 4 Apr 2001 16:58, Dhaval Desai wrote:
> Hi!
>
>
> This is my code for sending email to all the emails in
> my database:
>
> $connect = mysql_connecT();
> $query = "select email from table";
> $execute = mysql_db_query("database", $query);
>
> while($r=mysql_fetch_array($execute))
> {
> $e
Hi!
This is my code for sending email to all the emails in
my database:
$connect = mysql_connecT();
$query = "select email from table";
$execute = mysql_db_query("database", $query);
while($r=mysql_fetch_array($execute))
{
$email .= $r('email')
mail("$email", "My Subject", "Line 1\nLine 2\nLi
3 matches
Mail list logo