I have $array1:
$array1 = array(6 => 'Hello World');
$array2 = array('foo', 'bar', 'baz');
I want to put $array1 at the beginning of $array2, but when I do this:
$array = $array1 + $array2;
My results wind up like this:
$array = array('Hello World', 'bar', 'baz');
When they should be like this:
$array = array('Hello World', 'foo', 'bar', 'baz');
[/PHP}
I can't use array_combine (see [url]http://us2.php.net/manual/en/function.array-combine.php[/url]) as it is a PHP version 5 construct and I'm only using PHP version 4.3.2.
Any ideas?
Thanx
Phil