Hi all,
Something strange (that I cannot see how this is even REMOTELY related) is happening on these pages. I was trying to write some code to randomly choose 5 images from my database and display them and if I do NOT include the header for the page (which has NOTHING to do with the random code) I get no images from the database.
If I DO include the header, I get 5 random images ????????????????? HOW!!!???
Here is the page without the header included...
http://www.freetochoosemedia.org/rotater.php
Here is the page with the header...
http://www.freetochoosemedia.org/rotater2.php
What I am trying to do is write some code to choose a random image from the database and display it.
In reality, I have 5 images in a filmstrip in the header...
http://www.freetochoosemedia.org/index.php
and I am going to try to get the 1, 3 and 5th be people shots, and 2 and 4 be places. I know I can add a field and set it to either 0 or 1 and use that to limit it to a person or place. I am not sure how to do that, but I am sure the answer is here on the forum somewhere.
Just thought this 'header include' issue was a weirdo thing and I cannot see any relation.
Thanks in advance.
Don