Re: Array to String
| From: | Jason Wong | Date: | Mon, 19 May 2003 15:28:01 +0000 |
| Subject: | Re: Array to String | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148179@lists.php.net to get a copy of this message | ||
On Monday 19 May 2003 23:26, shaun wrote:
> what would the command be to convert an array to a string. The reason for
> this is I am using php version 4.23 and I need to get the contents of a
> file in a string. file_get_contents() only works for versions >= 4.3. So I
> intend to get the file contents with file() and convert the result to a
> string...
implode()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The distinction between Freedom and Liberty is not accurately known;
naturalists have been unable to find a living specimen of either.
-- Ambrose Bierce
*/