php - Passing xml to url -


I'm new to XML and I just want to pass an object in the url and want to parse it in the array . Do not know what to do

Here is my code:

  $ xml = "& lt; user & gt; & lt; name & gt;" $ Name "& Lt; / name & gt; & lt; Balance & gt; $ Balance" & lt; / Balance & gt; & Lt; Address & gt; ". $ Addresses" & lt; / Address & gt; & Lt; Mobile & gt; ".. $ mobile .." & lt; / Mobile & gt; & Lt; / User & gt; "$ simple = new simple assemment ($ xml); $ Simple2 = $ simple-> asXML (); $ Sample = simplexml_load_string ($ simple2); $ Url = $ global ['urlPath'] 'Webportal_sqlanywhere / xml.php? Id ='. $ (. My xml); $ Path_file = file_get_contents ($ url); echo $ path_file;  


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -