Posted by Ivan Omelchenko 608308824 on 06/15/05 15:11
> Hi Everyone,
>
> How can I get all the values which are between Name tags as follows:
>
> <emp>
> <name>N1</name>
> <age>1</age>
>
> <name>N2</name>
> <age>2</age>
>
> <name>N3</name>
> <age>3</age>
>
> <name>N4</name>
> <age>4</age>
>
>
> </emp>
>
>
>
>
> Regards
> Zeeshan
>
preg_match("/<name>.+?<\/name>/sim", $HTML, $matches);
[Back to original message]
|