p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Variables from XML in PHP


Message #1 by "Sebastian A." <sebi@x...> on Mon, 6 May 2002 20:24:45 +0200
Hello,

I have recently been trying to use templates with XML documents. My problem
however is that I cannot get the values between XML tags into variables. For
example

Example XML Document:
<me>
	<name>
		Foo-Bar
	</name>
</me>

What would I need to do, so that I can get the contents of the <name> tag
(Foo-Bar) into a variable?


  Return to Index