On 4/1/01 11:32 AM, "Yoshi Melrose" <[EMAIL PROTECTED]> wrote:
> Ok. I must be soooo blind. Is there a function to insert a value into the
> middle of an array without rewriting it?
>
>
In PHP3, no.
PHP4, see http://www.php.net/manual/en/function.array.php
You could pull it off with combinations of array_slice, array_splice,
array_merge, array_push...
Lots of array functions in php4.
--
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]