php-windows | 2001051
Date: 05/13/01
- Next message: Tim Lofstrom: "RE: [PHP-WIN] RE: New function help"
- Previous message: Johannes Janson: "Re: [PHP-WIN] mysql_query seems not to work..."
- In reply to: Tim Lofstrom: "[PHP-WIN] RE: New function help"
- Next in thread: Tim Lofstrom: "RE: [PHP-WIN] RE: New function help"
- Reply: Tim Lofstrom: "RE: [PHP-WIN] RE: New function help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
There is a builtin array_reverse function in PHP. You just need to
reverse the name of the function your were looking for :-)
Regards,
Paul Meagher
----- Original Message -----
From: "Tim Lofstrom" <tim <email protected>>
To: <php-windows <email protected>>
Sent: Friday, May 11, 2001 3:22 PM
Subject: [PHP-WIN] RE: New function help
> Here is my attempt: Any improvements welcomed.
>
>
> function array_reverse_priv ($WorkArray)
> {
> $CountWorkArray = count($WorkArray) ;
> for ($i = 0 ; $i < $CountWorkArray ; ++$i)
> {
> $NewArray[$i] = array_pop ($WorkArray) ;
> }
> return $NewArray ;
> }
>
> Until next ....
>
> Tim Lofstrom
> M.C.S.E.
>
> Original:
>
> Looking for reverse_array as a user added function. Anyone have it?
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
> For additional commands, e-mail: php-windows-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Tim Lofstrom: "RE: [PHP-WIN] RE: New function help"
- Previous message: Johannes Janson: "Re: [PHP-WIN] mysql_query seems not to work..."
- In reply to: Tim Lofstrom: "[PHP-WIN] RE: New function help"
- Next in thread: Tim Lofstrom: "RE: [PHP-WIN] RE: New function help"
- Reply: Tim Lofstrom: "RE: [PHP-WIN] RE: New function help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

