Random doesn't work --> Pictures are not shuffled! Random doesn't work --> Pictures are not shuffled!
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Random doesn't work --> Pictures are not shuffled!

Started by Thoifl, January 12, 2004, 11:44:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thoifl

Hi,

I have a problem with the random-pics.
Please take a look at:
http://www.trottelige-gesellschaft.net/php/bilder/index.php
The random-pictures are at the bottom. Hit the reload button a few time and you will see.
Especially the first 2 Pictures switch hardly, it seem the random-function is broken.
Any ideas?
Tanks for help

Joachim Müller

get some more pics in your database and have only 1 row of random pics, this will help. You have to understand that there's no such thing like a computer-generated random number...

GauGau

Thoifl

Ok, there are now 47 pics and just one row, but still, the last uploaded pictures are prefered. What's going on??

Joachim Müller

I've noticed this behaviour on other small sites already, it will go away if you have more pics in more albums, promise!
Like I said: there's no such thing like a computer generated random number... :wink:

GauGau