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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.