Re: Array question...sorry I'm new to PHP
| From: | Hannes Magnusson | Date: | Thu, 08 May 2008 18:49:04 +0000 |
| Subject: | Re: Array question...sorry I'm new to PHP | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-1696@lists.php.net to get a copy of this message | ||
On Thu, May 8, 2008 at 4:47 PM, Newton Todd <Todd.Newton@jcc.hhsc.ca> wrote:
> So finally my
> question, is there a simple array function to simply swap two key/value
> pairs in the array. In this example row 3 becomes row 2 and row 2
> becomes row 3 (based on a condition/comparison)?
No. This is an perfect example of a function that you should implement
with PHP code, not in PHP.
> This information is directed in confidence solely to the person
> named above and may not otherwise be distributed, copied or
> disclosed. Therefore, this information should be considered
> strictly confidential. If you have received this email in error, please
> notify the sender immediately via a return email for further
> direction. Thank you for your assistance.
You are kidding, right?
Please don't post such crap on any of our mailinglist again.
-Hannes