Using an empty delimeter with explode leads to a php warning. At least
in the php versions i worked with. Still there is a similar function:
Odd. Don't know where that idea came from then.
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/
Is there a way to output the results with a space between each
character?
$shuffled = str_shuffle($str);
From memory:
$shuffled = implode(' ', explode('', $shuffled));
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
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 <[EMAIL PROTECTED]> wrote:
>
> > I am using PHP 4
> >
> > I am trying to figure
On Fri, 04 Jul 2008 18:52:49 -0400
Ron Piggott <[EMAIL PROTECTED]> 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 pe
On Fri, 2008-07-04 at 18:52 -0400, Ron Piggott 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
>
>
http://koivi.com/letter-scramble/
--
Michael S. Dunsavage
--
PHP General Mailing Lis
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo