Re: [PHP] for loop problem

2002-03-20 Thread Miguel Cruz
On Wed, 20 Mar 2002, Kris Vose wrote: > I have a problem with a piece of code that uses the mail function in a > for loop. It sends out mail to all the users in the database but it has > a problem with attaching their specific name into the message. What > happens is the first user in the databa

Re: [PHP] for loop problem

2002-03-20 Thread cal
}//end of for }//end of if * * Cal Evans * Techno-Mage * http://www.calevans.com * - Original Message - From: "Kris Vose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 2:07 PM Subject: [PHP] for loop problem I have a problem with a piec

Re: [PHP] for loop problem

2002-03-20 Thread cal
* - Original Message - From: "Kris Vose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 2:07 PM Subject: [PHP] for loop problem I have a problem with a piece of code that uses the mail function in a for loop. It sends out mail to all the

[PHP] for loop problem

2002-03-20 Thread Kris Vose
I have a problem with a piece of code that uses the mail function in a for loop. It sends out mail to all the users in the database but it has a problem with attaching their specific name into the message. What happens is the first user in the database will get their name in the e-mail (Dear

Re: [PHP] for loop problem?

2001-11-13 Thread jimmy elab
Tyler Longren wrote: > > Here's something interesting though. There's an id field that's set to > AUTO_INCREMENT. Yep, and that's one thing I've been looking at. See, I find it strange that you need an KEY idpass (id, passcode(245)) when the ID is quaranteed to be unique in itself. Funny...

Re: [PHP] for loop problem?

2001-11-13 Thread John Steele
>work. > >Tyler > >- Original Message - >From: "John Steele" <[EMAIL PROTECTED]> >To: "PHP General List" <[EMAIL PROTECTED]> >Sent: Monday, November 12, 2001 3:33 PM >Subject: Re: [PHP] for loop problem? > > >&g

Re: [PHP] for loop problem?

2001-11-12 Thread Christopher William Wesley
> work. > > Tyler > > - Original Message - > From: "John Steele" <[EMAIL PROTECTED]> > To: "PHP General List" <[EMAIL PROTECTED]> > Sent: Monday, November 12, 2001 3:33 PM > Subject: Re: [PHP] for loop problem? > > > > Hi Ty

Re: [PHP] for loop problem?

2001-11-12 Thread Tyler Longren
this PHP SHOULD work. Tyler - Original Message - From: "John Steele" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 3:33 PM Subject: Re: [PHP] for loop problem? > Hi Tyler, > > This doesn't s

Re: [PHP] for loop problem?

2001-11-12 Thread John Steele
t; >Shouldn't the ID's be further apart than that? Know what I'm saying? > >Tyler > >- Original Message - >From: "Martin Towell" <[EMAIL PROTECTED]> >To: "'Tyler Longren'" <[EMAIL PROTECTED]>; "Jack Dempsey" >&

Re: [PHP] for loop problem?

2001-11-12 Thread Tyler Longren
r Longren'" <[EMAIL PROTECTED]>; "Jack Dempsey" <[EMAIL PROTECTED]> Cc: "PHP-General" <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 10:45 PM Subject: RE: [PHP] for loop problem? > How about changing the logic lightly? try this: > >

RE: [PHP] for loop problem?

2001-11-12 Thread Martin Towell
bers then adding it back on later Martin T -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 3:38 PM To: Jack Dempsey Cc: PHP-General Subject: Re: [PHP] for loop problem? I've ran it a few times without the MySQL code in there. Runs

Re: [PHP] for loop problem?

2001-11-12 Thread Tyler Longren
x27;passcodes' field. Oh well, here I come perl! Thanks, Tyler - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 10:43 PM Subject: RE: [

RE: [PHP] for loop problem?

2001-11-12 Thread Jack Dempsey
loop problem? Exact code: ".mysql_error().""; exit; } } mysql_close($connection); ?> Tyler - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 10:34 PM Subject: RE: [PHP] for loop

Re: [PHP] for loop problem?

2001-11-12 Thread Tyler Longren
Exact code: ".mysql_error().""; exit; } } mysql_close($connection); ?> Tyler - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 10:34 PM Subject: RE: [PHP] for loop problem?

RE: [PHP] for loop problem?

2001-11-12 Thread Jack Dempsey
paste the complete code in and myself and others can run your exact copy -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 11:22 PM To: Martin Towell; [EMAIL PROTECTED] Subject: Re: [PHP] for loop problem? I removed all of the quotes that

Re: [PHP] for loop problem?

2001-11-12 Thread Tyler Longren
Sent: Monday, November 12, 2001 10:06 PM Subject: RE: [PHP] for loop problem? > hmmm... I just tried : > > $value1 = 100; > $value2 = 1223109; > for($i = $value1; $i <= $value2; $i++) > { > echo "$i\n"; > } > > and it spat out all 223109 numbers

RE: [PHP] for loop problem?

2001-11-12 Thread Martin Towell
e- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 2:53 PM To: Evan Nemerson; [EMAIL PROTECTED] Subject: Re: [PHP] for loop problem? To everyone that said it had something to do with the quotes: that has nothing to do with it. When I first wrote this, It didn

Re: [PHP] for loop problem?

2001-11-12 Thread Tyler Longren
I HAVE to, I'll do this in PERL, but would much rather do it in PHP. Thanks everyone, Tyler - Original Message - From: "Evan Nemerson" <[EMAIL PROTECTED]> To: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 12, 200

Re: [PHP] for loop problem?

2001-11-12 Thread Evan Nemerson
My word why all the quotes? ".mysql_error().""; exit; } } mysql_close($connection); ?> That should give you some better results. On Monday 12 November 2001 07:32 pm, you wrote: > Hello everyone, > > I have a pretty big list of codes that need to be put into a mysql db. The > numbers range

RE: [PHP] for loop problem?

2001-11-12 Thread Martin Towell
PROTECTED]] Sent: Tuesday, November 13, 2001 2:33 PM To: PHP-General Subject: [PHP] for loop problem? Hello everyone, I have a pretty big list of codes that need to be put into a mysql db. The numbers range from 100 to 1223109. Here's the PHP I wrote to put these codes int

[PHP] for loop problem?

2001-11-12 Thread Tyler Longren
Hello everyone, I have a pretty big list of codes that need to be put into a mysql db. The numbers range from 100 to 1223109. Here's the PHP I wrote to put these codes into a database: ".mysql_error().""; exit; } } mysql_close($connection); ?> Everytime I run this from a browser, it ju