Reply to preg_match_all regex help

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация