Re: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Ray
ver time in order to get them into a > manageable database. > > -Original Message- > From: Paul Miller [mailto:[EMAIL PROTECTED] > Sent: 05 December 2003 15:09 > To: Chris Payne; [EMAIL PROTECTED] > Subject: RE: [PHP-DB] Splitting a string by a , > > > if the e

Re: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Karsten Eichentopf
John Dillon schrieb: I don't wish to hyjack this string but there is a module in perl for extracting emails from files, I could not get it to work but wonder is there any pre-written function in php that would parse text and extract the emails. I wish to do it with pst files, ie people who have wr

RE: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Dillon, John
over time in order to get them into a manageable database. -Original Message- From: Paul Miller [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 15:09 To: Chris Payne; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Splitting a string by a , if the emails are in a CSV file, you can also use "fg

RE: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Paul Miller
if the emails are in a CSV file, you can also use "fgetcsv" \n"; } } fclose ($handle); ?> - Paul -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 1:23 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Splitting a string by a , Hi there everyon

Re: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Karsten Eichentopf
I'm trying to split a string into an Array by a , but I kepe getting errors. Looking at the PHP manual, I thought it would be this way: $keywords = preg_split(",", $email); Hi, if you just want to split a "a,b" to array("a","b") you can use explode wich would wourd as you wrote above. $keywords

Re: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 15:23, Chris Payne wrote: > I'm trying to split a string into an Array by a , but I kepe getting > errors. Looking at the PHP manual, I thought it would be this way: > > $keywords = preg_split(",", $email); > > But it keeps saying that the , isn't an ending delimiter?