RE: [PHP] remove a line from a text list

From: Date: Thu, 06 Mar 2003 04:24:33 +0000
Subject: RE: [PHP] remove a line from a text list
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138411@lists.php.net to get a copy of this message
> Your code works as you'd expect ... on my mod_php 4.2.2 & Apache 1.3.26 > setup. It's amazing though, because implode() is used incorrectly. > See below: [snip] > Try switching the arguments around in the call to implode(), to: > $lines = implode('',$recordsarray); > > http://www.php.net/manual/en/function.implode.php Please read the manual page you provided a link to: Note: implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#138411) next »