View Single Post
Old 01-14-2009, 05:20 PM  
RayVega
Confirmed User
 
RayVega's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: New York ICQ#348007554
Posts: 4,212
Quote:
Originally Posted by drocd View Post
PHP Code:
$str '$agentid=1010303&listingid';
if(
preg_match_all('/agentid\=(\d+)&listingid/',$str,$matches)){
    
$num $matches[1][0];

Thanks bro...right on target. problem solved!
__________________
Ray "The Don" Vega

Managing Director
Private Equity Fund

[email protected]
RayVega is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote