Explode Question

From: Date: Tue, 17 May 2011 23:15:57 +0000
Subject: Explode Question
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-312849@lists.php.net to get a copy of this message
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

« previous php.general (#312849) next »