Results 1 to 3 of 3

Thread: Getting php variables into XML?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2008
    Posts
    268

    Getting php variables into XML?

    Hey,

    How can I get php variables in my page to an .XML file?

    Let's say on my index.php I have a variable called $test and it's value is dynamic and changes depending on user input.

    Now how can I pass $test to my xml file when I tell the page to read the xml file?

    Let me know if you need any clarification. :-)

    (So I could have entries in my XML like:
    <photo>http://site.com/<?=$_GET['2']?>/0.jpg</photo>
    Last edited by DavidNels; Oct 18th, 2008 at 05:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width