getting a list of all new users.
I need to know how to put the list into the message part of the mail function?
Jambo
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2002 17:12
To: James Meers
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Query within Mail Function
[EMAIL PROTECTED]
> Subject: [PHP-WIN] Query within Mail Function
>
>
> Hi,
>
> Please bear with my limited knowledge of PHP...
>
> Does anyone know if it is possible to code a sql query within the
> message part of the mail function, e.g.:
>
> mail( "$to_mail"
James,
> I have a rather long list of names and I want to email the whole list and
not one by one, do you know what I mean?
May I suggest that you always reply to the list: someone else may answer
better/faster/in color...
Also how about a clear specification of need: why are you retrieving a
s
Hi James,
Please bear with my limited knowledge of PHP...
Does anyone know if it is possible to code a sql query within the message
part of the mail function, e.g.:
mail( "$to_mail","$sumject","
$sql = mysql_query("select * from table")
or die("error with query\n");
while ($row = m
Hi,
Please bear with my limited knowledge of PHP...
Does anyone know if it is possible to code a sql query within the message part of the
mail function, e.g.:
mail( "$to_mail","$sumject","
$sql = mysql_query("select * from table")
or die("error with query\n");
while ($row =