What should happen is that it would produce one line of code for each $value in $myArray, sandwiched inbetween $begin and $end. Like this:
<ban type="word" value="example_swear" />
<ban type="word" value="example_swear2" />
<ban type="word" value="example_swear3" />
etc.
Whne I echo all three variables, it produces a blank page, although I get no errors.
When I echo only two variables, it produces the two exactly as I wanted. For instance:
echo $begin;
echo $value;
Produces:
<ban type="word" value="example_swear
echo $value;
echo $end;
produces:
example_swear" />
But,
echo $begin;
echo $value;
echo $end;
produces a blank page.......
I need help! this is driving me nuts!
Luke