[PHP]regex help?

Status
Not open for further replies.
Joined
Apr 9, 2008
Messages
1,415
Reaction score
168
i currently making a script that will scan the page and pull the info from the spot selected.

code:
PHP:
if(preg_match("/<label id=\"GOOGlastsale\">(.+)</label>/i", $file, $m))

error:
Code:
Unknown modifier 'l'

my question is how can i make that work because i need the id in the label to stay the same.
 
Status
Not open for further replies.
Back