Hi
I have a simple problem, that I quess someone in here can solve :D
<?php
include("gallery/block-random.php");
include("gallery/block-random.php");
include("gallery/block-random.php");
?>
Of course it dosn't work. :cry: One image is displayed but not the others. I get "Cannot redeclare getrequestvar() (previously declared in......".
Can someone please help me get round this, so I can display my three random images?
Also, does block-random.php work this way?! Getting the feeling it only can display one image per day. Hmm... :roll:
See ya! :P
Posts: 2322
You must include the random block via http. It can not be included as a file. Please read the instructional post at the top of the forum.
Posts: 36
Thank you. Yes, it works perfectly now.
Random gallery block for Mambo is then coded wrong.
I have modified my copy...
/Niklas