Hi all,
I have an array of several hundred names. I need to insert the name of spouse into the array.
How do I insert Jane Doe after John Doe?
Thanks in advance for your help.
[php]$array = (“John Smith”, “John Doe”, “John Jones”);
$spouse1 = “John Doe”;
$spouse2 = “Jane Doe”;
// I want array to be…
// $array = (“John Smith”, “John Doe”, “Jane Doe”, “John Jones”); [/php]