> 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
"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."
Chris Wesley wrote:
The above line:
I'm assuming you want to collapse $recordsarray into a sting, wi
On Wed, 5 Mar 2003, Richard Kurth wrote:
> This script will remove a line from a text list of email address and
> then re-write the list. The only problem I am having is when it
> re-writes the list it adds a extra line between each record. How can I
> stop this from happening
Your code works as
On Thursday 06 March 2003 04:18, Richard Kurth wrote:
> This script will remove a line from a text list of email address and
> then re-write the list. The only problem I am having is when it
> re-writes the list it adds a extra line between each record. How can I
> stop this from happening
>
> $rec
4 matches
Mail list logo