Jump to content

[SOLVED] View this XML data


ziltech

Recommended Posts

Hello All,

 

Probably a very easy question from a PHP novice.

 

I am trying to find out how to write a php script that can assign an element from an XML file to a PHP variable.

 

The XML source is http://www.avallen.co.uk/scr/auth/v3main/txtvrm/reg.php?strVRM=wlo6kcu

 

Note that the XML is dynamically generated from the reg.php file, it isn't a direct source to a static XML file.

 

 

I want to just be able to assign the 'ErrorDescription' element of the XML file to lets say an $errordescription variable so that I can easily echo it anywhere on the php page.

 

Probably very simply but scratching my head.

 

Thanks very much,

 

Rob

Link to comment
https://forums.phpfreaks.com/topic/84359-solved-view-this-xml-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.