Hi fellows hardcore coders,
I'we used to code a lot of ASP applications, but it has been more and more PHP, which also is quit good, but now I ran into a problem with randomizing a output from my MySQL database.
In ASP you can randomize wuit easy, but i found out that it is not that easy in PHP.
Let's say I got a SQL statement which returns me 4 recordset's. These must be totally randomize with the condition on the time for an example........no exact way, that's makes the output different every time the page reloads......it must be different every time!
I thought of taking the actual timestamp and by that making the fetch_array different somehow, but I can't figure it out, so I would be happy for some hint, with more than just use the mt_ran or another, but a better explanation on how to do this.
If the sql statement returns 4 records all 4 needs to be put out, but not the same way...always in a different way (I do understand that there always will be a possibility that they will be presented in the exact same way but i tried with some exambles i read about and they always put it put the same way and that's not what i call randomize)
I hope for fast help and thanks in advance.
P.S. Sorry for all the explanation but i thought it was needed, also a sorry for my bad english, but it's not my best language :-)
/Lars