All pastes #478215 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-05-09 01:13 UTC
rendered paste body
$xmldata = <<<XML<?xml version='1.0' standalone='yes'?><order>	<orderid>1</orderid>	<name>Scott</name>	<email>test@test.com</email></order>XML;$xml = urlencode($xmldata);$xml = new SimpleXMLElement(urldecode($xml));print "<pre>".print_r($xml>order[1], 1)."</pre>";