Problem with include

Started by Sir Osis of Liver, June 20, 2022, 10:20:01 PM

Previous topic - Next topic

Sir Osis of Liver

Have a slideshow running in board description, works fine.  When I try to add a second slideshow below it, get an empty div.  Running it with an include(), also tried include_once(), two different filenames, same result. 


if ($board['id'] == 98) {
echo '
<br /><div id="scroller">';
include_once('BoardIndex.scroller.php');
echo '
<br /><div id="scroller2" style="border: 1px red solid;">';
include_once('BoardIndex.scroller2.php');
}


Only first one works, second is empty box, right size in right place.



Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: