$s = implode(' ', $arr);

http://nz.php.net/function.implode

On Sun, Apr 19, 2009 at 4:21 PM, Michael <[email protected]> wrote:
>
> scandir() creates an array of files within a directory.
>
> I don't want an array - I want a string like this: file1 file2 file3 etc...
>
> How would I convert the array from scandir() to a string?
>
> This should be very straight forward....
>
> Cheers,
>
> Michael
>
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to