Problem here? string implode(array pieces, string glue);

From: Date: Thu, 10 Feb 2000 10:18:57 +0000
Subject: Problem here? string implode(array pieces, string glue);
Groups: php.version4 
Request: Send a blank email to php-version4+get-10013@lists.php.net to get a copy of this message
Can some kind soul please tel me why this is giving the following error message.. $contents = implode("",(@file($filename))); Warning: Bad arguments to implode() in class.FastTemplate.php3 on line 157 Now even if I write it this way, ............ man page ............. Description string implode(array pieces, string glue); Returns a string containing a string representation of all the array elements in the same order, with the glue string between each element. Example 1. implode() example $colon_separated = implode($array, ":"); ........................................ $contents = implode((@file($filename)), ""); It still fails... ? ta da :-) Bob http://www.chalmers.com.au Clipart And Books Art, Design and Graphics.

« previous php.version4 (#10013) next »