Posted by Thomas Hamacher on 10/26/07 07:10
Xav schrieb:
> Why does this not work ?
> $fileDir = '../folder2/';
> $content is an array of php files, file1.php file2.php file3.php
> etc...
> $c = count($content);
> for( $x=0; $x<$c; $x++ ){
> include( $fileDir.$content[$x] );
> }
This should work if $content really contains what you expect.
var_dump($content);
Navigation:
[Reply to this message]
|