I need to explode an array with an array.

$one = array(0 =>'golf', 1 => 'field');
$two = array(0 => "On the golf course or in the field of clover");


$array_exp = explode($one, $two);

print_r('<pre>');
print_r($array_exp);
print_r('</pre>');

Notice: Array to string conversion.


I have done this before but it is slipping my memory how I did it.
I do NOT want to foreach over the initial array and read the second array for 
each position.
I am not even sure I used the explode function.


Richard L. Buskirk


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

Reply via email to