How to find a particular value from a string, PHP

PaTaYa

New Member
I have a string (not xml )\[code\]<headername>X-Mailer-Recptid</headername><headervalue>15772348</headervalue></header>\[/code\]from this, i need to get the value \[code\]15772348\[/code\], that is the value of \[code\]headervalue\[/code\]. How is possible?
 
Back
Top