# Random Image Problem

**URL:** <https://forum.kirupa.com/t/random-image-problem/114433>\
**Category:** Uncategorized\
**Created:** [June 28, 2004, 4:42pm UTC](https://forum.kirupa.com/t/random-image-problem/114433 "2004-06-28T16:42:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![miloze](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@miloze](https://forum.kirupa.com/u/miloze)\
**Post date:** [June 28, 2004, 4:42pm UTC](https://forum.kirupa.com/t/random-image-problem/114433/1 "2004-06-28T16:42:23Z")

</div>

I followed the PHP tutorial ([http://www.kirupa.com/web/random\_image.php](http://www.kirupa.com/web/random_image.php)) to the letter and it doesnt seem to work for me. Instead of a new image popping up I have the same 2 images side by side when I refresh the page. This is really odd as I have only inserted 1 image in the page. Any ideas anyone?  
this is what i mean ([http://www.adamstrainor.com/random.php](http://www.adamstrainor.com/random.php))
