RE: [PHP] Array to String

From: Date: Mon, 19 May 2003 15:27:17 +0000
Subject: RE: [PHP] Array to String
Groups: php.general 
Request: Send a blank email to php-general+get-148178@lists.php.net to get a copy of this message
> -----Original Message----- > From: shaun [mailto:shaun@mania.plus.com] > Sent: 19 May 2003 16:26 > To: php-general@lists.php.net > Subject: [PHP] Array to String > > > Hi, > > 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... > > Thanks for your help http://www.php.net/implode Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#148178) next »