I've done that, but how do I generate a number out of that that's in a certain range?
"Thomas Seifert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 1 Nov 2003 00:37:32 -0000 [EMAIL PROTECTED] (John Ryan) wrote: > > > I've a bit of a problem, I want a random keyword pulled from my database. > > But I dont want it random all the time. I just want it random to each page. > > So I have the filename variable of the page. How do I somehow generate a > > 'constant' random number from this string that is constant to each file??? > > > > TIA > > md5(__FILE__) ? > > > Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php