[PHP] Re: Inserting function into mail()???

2003-12-17 Thread Eric Bolikowski
"Tristan Pretty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok, here's my code that I want to pick a random line from a text file, and > then mail myself 10 times with a different line each time... > But It simply won't work... > Anyone know why? > > function randomline($fi

[PHP] Re: Inserting function into mail()???

2003-12-17 Thread Pavel Jartsev
Tristan Pretty wrote: Ok, here's my code that I want to pick a random line from a text file, and then mail myself 10 times with a different line each time... But It simply won't work... Anyone know why? ... while (2 > $i) { ... Seems that this "while"-loop will execute only 2 times.. not 10. Mayb