I would just loop through the array and grab the
key/value pairs and then add them to a new array as
you modify them.
Jason
--- Jaxon <[EMAIL PROTECTED]> wrote:
> Hi folks!
>
> If $array contains the following:
>
> boy => hello
> girl => hi
> dog => bark
>
> How can I alter all the elements the same way?
>
> e.g. so that it now conatins:
>
> Xboy => Xhello
> Xgirl => Xhi
> Xdog => Xbark
>
> thanks!
> jaxon
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]