|
Posted by malcolm on 11/27/05 00:22
$myarray = array(
"one-two-three",
"red-blue-green",
"apples-oranges-pears",
);
On Wed, 23 Nov 2005 19:19:42 -0500, luke <lukeo@gmail.com> wrote:
> $myarray = array(
> one-two-three,
> red-blue-green,
> apples-oranges-pears,
> );
>
> foreach ($myarray as $value) {
> include("folder/" . $value . "/index.php");
> }
>
> It seems the dahses in the array values are causing all the problems, if
> I
> remove them it works fine, but I need them in; is there a simple
> solution?
>
>
Navigation:
[Reply to this message]
|