Posted by leegold on 09/09/05 06:40
preg_match_all( "/(EXIF_Caption_Cell (Windows XP -.*?) <pre>
(.*?)<\/pre>.*?/", $meta_str, $out, PREG_PATTERN_ORDER );
So I get two values per each string ($meta_str) loaded into the array $out.
What I really want to do capture these as $1 and $2 and concatenate them
and read that into a variable.
The code above reads it into an array - and before try to figure out how to
combine the array elements in the way i need i thought there might be a
simpler way.
Thanks
[Back to original message]
|