> >         list($email,$first,$last) = split("|",$line);

--- Marian Briones <[EMAIL PROTECTED]> wrote:

> Split wouldn't do it but explode did.


I guess that makes sense since split()'s separation string can be a regular _expression_.  It
appears that explode()'s cannot.  Hence, to make this work with split() you'd have to use:

list($email,$first,$last) = split("\|",$line);

or possibly:

list($email,$first,$last) = split('|',$line);

I didn't see your other messages until they showed up in this reply.  Perhaps they were delayed or
trapped in the spam filter.

James



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list




YAHOO! GROUPS LINKS




Reply via email to