lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [PHP] Scrambling a word
- Date: Fri, 04 Jul 2008 21:23:58 -0400
- From: Ron Piggott <ron.php@xxxxxxxxxxxxxxxxxx>
- Subject: ***BOGO*** Re: [PHP] Scrambling a word
Is there a way to output the results with a space between each
character?
$shuffled = str_shuffle($str);
On Sat, 2008-07-05 at 01:20 +0200, Stefano Esposito wrote:
> On Fri, 04 Jul 2008 18:52:49 -0400
> Ron Piggott <ron.php@xxxxxxxxxxxxxxxxxx> wrote:
>
> > I am using PHP 4
> >
> > I am trying to figure out how to scramble a word.
> >
> > Example: hello so the output might be elolh
> >
> > Any ideas?
> >
> > Ron
> >
> >
>
> str_shuffle()
>
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Vieni nei Riccione Family Hotels! Ti aspettano servizi per bambini, ampi spazi per il gioco e tanto divertimento! Prenota subito on-line la tua vacanza!
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8058&d=5-7
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php