Re: Alter an Array Key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OD wrote:
Hello,
Is there any easy way to alter a key's name?

I would like to remove some underscores in the $_POST array keys.

Thanks,
OD
sure use str_replace in the value of the key name string.

But, that probably doesn't answer your question.

Why don't you supply us with an example of how you are using the $_POST array

and maybe we can give you a better solution.

--
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux