RE: [PHP-WIN] Query within Mail Function

2002-08-20 Thread James Meers
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

RE: [PHP-WIN] Query within Mail Function

2002-08-20 Thread Ross Fleming
[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"

Re: [PHP-WIN] Query within Mail Function

2002-08-20 Thread DL Neil
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

Re: [PHP-WIN] Query within Mail Function

2002-08-20 Thread DL Neil
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

[PHP-WIN] Query within Mail Function

2002-08-20 Thread James Meers
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 =