This is a discussion on Looping mysql selection for email within the PHP Language forums, part of the PHP Programming Forums category; Iıve got a bunch of email addresses in a mysql table. I need a php script that will loop ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Iıve got a bunch of email addresses in a mysql table. I need a php script
that will loop the results of a SELECT and format them so I can put them in a php mail() function. Iım not too swift with php ... would this be a simple script to code? Any help would be appreciated. |
|
|||
|
I noticed that Message-ID: <BBA06530.19DAE%jshockey@vbe.com> from Joe
contained the following: > Iım not too swift with php ... would this be a simple >script to code? Yes. <g> -- Geoff Berrow It's only Usenet, no one dies. My opinions, not the committee's, mine. Simple RFDs http://www.ckdog.co.uk/rfdmaker/ |
|
|||
|
Joe <jshockey@vbe.com> schrieb:
> Iıve got a bunch of email addresses in a mysql table. I need a php script > that will loop the results of a SELECT and format them so I can put them in > a php mail() function. Iım not too swift with php ... would this be a simple > script to code? Just to give you the idea: while ($record = mysql_fetch_array($RESOURCE)) { $field = $record['FIELDNAME']; ... } Regards, Matthias |
|
|||
|
Thanks Matthias. Looks pretty simple.
in article blfjs2.1mg.1@usenet.esken.de, Matthias Esken at muelleimer2003nospam@usenetverwaltung.org wrote on 10/1/03 3:18 PM: > Joe <jshockey@vbe.com> schrieb: > >> Iıve got a bunch of email addresses in a mysql table. I need a php script >> that will loop the results of a SELECT and format them so I can put them in >> a php mail() function. Iım not too swift with php ... would this be a simple >> script to code? > > Just to give you the idea: > > while ($record = mysql_fetch_array($RESOURCE)) { > $field = $record['FIELDNAME']; > ... > } > > Regards, > Matthias |