Date: 12/10/00
- Next message: hub: "[phplib] logon as different users?"
- Previous message: Peter Bowyer: "[phplib] please help! using the db_xxx.inc classes"
- In reply to: Peter Bowyer: "[phplib] please help! using the db_xxx.inc classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 10 Dec 2000, Peter Bowyer wrote:
> Hi,
>
> I have the following code
[snip code]
>
> My problem is caused by the second database query, as it destroys the while
> loop. At least I think that's the problem, as it only sends the first
> email. How can I cure this problem?
>
fire up a second db object:
$db = new DB_Sendcard;
$update_db = new DB_Sendcard;
while ($db_next_record()) {
[get records]
[send mail]
[create update query]
$update_db->query($q);
}
-n
-- ........ nathan hruby Webmaster: UGA Department of Drama and Theatre Project Maintainer: phpSlash, Carousel nhruby <email protected> ........--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: hub: "[phplib] logon as different users?"
- Previous message: Peter Bowyer: "[phplib] please help! using the db_xxx.inc classes"
- In reply to: Peter Bowyer: "[phplib] please help! using the db_xxx.inc classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

