php return elements from file content
- by mdskinner
Pretty simple i'm sure, but..
I've got a file that is guaranteed to have only an <h1some text</h1 and a <psome more text</p in it.
How would i go about returning these to elements as separate variables?