Pattern Syntax issue

im working this script where I need to get between tags. This is the tag im looking to get in between of :

(need this)
The number 30589 can vary. It can be a 5 digit or a 6 digit number.

I tried using this as the pattern :


as there are around 10 such tags and i want to return all of them i will use preg_match_all. However I think I have got the pattern wrong, as $array[0] returns the value array but $array[1] is blank. If I sound vague do tell me, but this syntax and preg_* functions is something i am having great difficulty mastering. Thank you for the help in advance :)

Sponsor our Newsletter | Privacy Policy | Terms of Service