This is a discussion on Re: [PHP] random string within the PHP General forums, part of the PHP Programming Forums category; On 10/17/06, Ross <ross@aztechost.com> wrote: > > > Hi, > > I want to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 10/17/06, Ross <ross@aztechost.com> wrote:
> > > Hi, > > I want to randomise a string > > $myrandom = rand("ross", "andrea"); I suggest : $array_name = array("rose","andrea"); $myrandom = array_rand($array_name); echo $myrandom[0]; Brice. 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 > > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|