How to do a Newsletter
am 01.05.2008 17:59:33 von Nasreen Laghari
--0-719794222-1209657573=:41944
Content-Type: text/plain; charset=us-ascii
Hi,
Does any one know a better way of doing "Newsletter". I have to run a query and send that data to clients.
Regards
____________________________________________________________ ________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--0-719794222-1209657573=:41944--
Re: How to do a Newsletter
am 01.05.2008 18:03:43 von Jason Pruim
That's not an awful lot to go off of.. I'm assuming the actual
newsletter is already produced probably in a PDF?
Are you looking to e-mail it out?
Post it to a website?
Get e-mail addresses to e-mail it to?
Get postal addresses to postal mail it to?
More info I think would definitely help.
On May 1, 2008, at 11:59 AM, Nasreen Laghari wrote:
> Hi,
> Does any one know a better way of doing "Newsletter". I have to run
> a query and send that data to clients.
> Regards
>
>
>
> ____________________________________________________________ ________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@raoset.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to do a Newsletter
am 01.05.2008 18:17:55 von Nasreen Laghari
--0-9451941-1209658675=:37761
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I have to email it. Basically I have run a query according to user criteria=
of newsletter and send it via email
=0A----- Original Message ----=0A=
From: Jason Pruim =0ATo: Nasreen Laghari
ri@yahoo.com>=0ACc: php-db@lists.php.net=0ASent: Thursday, May 1, 2008 5:03=
:43 PM=0ASubject: Re: [PHP-DB] How to do a Newsletter
That's not an aw=
ful lot to go off of.. I'm assuming the actual=A0 =0Anewsletter is already =
produced probably in a PDF?
Are you looking to e-mail it out?
Pos=
t it to a website?
Get e-mail addresses to e-mail it to?
Get post=
al addresses to postal mail it to?
More info I think would definitely =
help.
=0AOn May 1, 2008, at 11:59 AM, Nasreen Laghari wrote:
> Hi=
,=0A> Does any one know a better way of doing "Newsletter". I have to run=
=A0 =0A> a query and send that data to clients.=0A> Regards=0A>=0A>=0A>=A0 =
=A0 =A0 =0A> ____________________________________________________________ __=
______________________=0A> Be a better friend, newshound, and=0A> know-it-a=
ll with Yahoo! Mobile.=A0 Try it now.=A0 http://mobile.yahoo.com/;_ylt=3DAh=
u06i62sR8HDtDypao8Wcj9tAcJ
--
Jason Pruim=0ARaoset Inc.=0ATechnol=
ogy Manager=0AMQC Specialist=0A3251 132nd ave=0AHolland, MI, 49424-9337=0Aw=
ww.raoset.com=0Ajapruim@raoset.com
=0A-- =0APHP Database Mailing=
List (http://www.php.net/)=0ATo unsubscribe, visit: http://www.php.net/uns=
ub.php
=0A ______________________________________________________=
______________________________=0ABe a better friend, newshound, and =0Aknow=
-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=3DA=
hu06i62sR8HDtDypao8Wcj9tAcJ
--0-9451941-1209658675=:37761--
Re: How to do a Newsletter
am 01.05.2008 18:40:09 von Jason Pruim
Without seeing any of your code to base it off of I'd select it like
this:
$sql = "SELECT `email`, `emailNewsletter` FROM `mytable` where
`emailNewsletter`='YES'";
then just loop through the array that gets returned...
while ($row = mysqli_fetch_assoc($result)) {
//build the e-mail
}
Obviously, there's more to it, but that should get you started. If you
run into trouble, post code that we could look at and see if we can
help you.
On May 1, 2008, at 12:17 PM, Nasreen Laghari wrote:
> I have to email it. Basically I have run a query according to user
> criteria of newsletter and send it via email
>
>
> ----- Original Message ----
> From: Jason Pruim
> To: Nasreen Laghari
> Cc: php-db@lists.php.net
> Sent: Thursday, May 1, 2008 5:03:43 PM
> Subject: Re: [PHP-DB] How to do a Newsletter
>
> That's not an awful lot to go off of.. I'm assuming the actual
> newsletter is already produced probably in a PDF?
>
> Are you looking to e-mail it out?
>
> Post it to a website?
>
> Get e-mail addresses to e-mail it to?
>
> Get postal addresses to postal mail it to?
>
> More info I think would definitely help.
>
>
> On May 1, 2008, at 11:59 AM, Nasreen Laghari wrote:
>
>> Hi,
>> Does any one know a better way of doing "Newsletter". I have to run
>> a query and send that data to clients.
>> Regards
>>
>>
>>
>> ____________________________________________________________ ________________________
>> Be a better friend, newshound, and
>> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> --
>
> Jason Pruim
> Raoset Inc.
> Technology Manager
> MQC Specialist
> 3251 132nd ave
> Holland, MI, 49424-9337
> www.raoset.com
> japruim@raoset.com
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> ____________________________________________________________ ________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@raoset.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: How to do a Newsletter
am 01.05.2008 21:55:39 von Steven Cruz
Hello;
What exactly do you mean? I have some jobs in cron that run a query and then
spit out an thml page via email. That type of thing?
>From: Nasreen Laghari
>To: php-db@lists.php.net
>Subject: [PHP-DB] How to do a Newsletter
>Date: Thu, 1 May 2008 08:59:33 -0700 (PDT)
>
>Hi,
>Does any one know a better way of doing "Newsletter". I have to run a query
>and send that data to clients.
>Regards
>
>
>
>___________________________________________________________ _________________________
>Be a better friend, newshound, and
>know-it-all with Yahoo! Mobile. Try it now.
>http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php