[PHP] Re: Put text matching regex into array?

2002-12-18 Thread achillex
[EMAIL PROTECTED] (Leif K-Brooks) wrote in news:3DFE7849.5050102 @buyer-brokerage.com: Is there a way to put each part of a string matching a regex into an array? Example: $string = -_-_--- --_-_-- random text here-_; $array = regextoarray($string,[-_]{1,}); //Produces array of

[PHP] Re: can I mail unlimited in one click?

2002-12-18 Thread achillex
[EMAIL PROTECTED] (Jan GrafströM) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: Hi, I wonder if I can mail 300 customers in one click? part of script: while($listrow = mysql_fetch_array($listresult)) { $recipient = $listrow[epost]; $subject = $subj; $message =

[PHP] Re: fgetcsv and end of line in values

2002-11-08 Thread achillex
i solved my prob with the latest stable snap. php 4.2.4. [EMAIL PROTECTED] wrote in news:20021107092154.13278.qmail;pb1.pair.com: greetings, i have problems using fgetcsv to explode a .csv file. some values consist of line-breaks. although these values are enclosed by quotes, php