On Aug 4, 11:41 am, "euromark (munich)" <dereurom...@googlemail.com>
wrote:
> just use mt_rand()
> it is not without reason the "better random value generator"
>
>
> > ianh
>
> > ------------------------
> > EventHQ - professional online event registration and marketing http://www.eventhq.co.uk
>
> > On Aug 3, 11:25 pm, Miles J <mileswjohn...@gmail.com> wrote:
>
> > > I found this very weird bug today, and I am extremely stumped on the
> > > problem.
>
> > > I was working on a static ad system. The ads are listed in an array
> > > and I would shuffle() the array and then output the first index as the
> > > current ad for that request. It works fine locally but online it does
> > > not. So then I tried using rand(), same problem.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment