When I needed it I could'n find it so I made my own.

function arrayToStr( $arr ){
$str = "";
    while( true ){
        $linea = current($arr);
        $str = $str . $linea;

        if( next($arr) == FALSE ){ break; }
        $str = str . "\n";            // a newline separates each element.
    }

return $str;
}

Gabriel.


"Douglas Douglas" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hello everybody.
>
> Is there any built-in function to convert an array to
> string?
>
> Thanks.
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to