View Single Post
Old 06-26-2006, 05:24 PM  
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
Quote:
Originally Posted by acctman
something like this would grab all without running a do loop?...
Code:
preg_match_all('|<024version>(.*?)</024version>|',$resp,$writecontent);
hehe fallenmuffin yeah i know my coding sucks... i need update my php reference book
Yup, one function to search an entire string for multiple matches.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote