You have an array of names and you want to choose a random name. is it? try thinking some thing about arrays, keys numbers, key count, and such Ross wrote: > > > Hi, > > I want to randomise a string > > $myrandom = rand("ross", "andrea"); > > echo $myrandom; > > > I know this doesn't work but is there a built in function to do this? > > > R. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/random-string-tf2459193.html#a6881109 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php