Associate
- Joined
- 21 Sep 2007
- Posts
- 453
I am looking to learn some basic PHP and XML functions, for making a control panel for a Flash banner.
Currently I am using SQL to store some variables, but I wish to change this to XML.
I have started looking at the tutorials on Kirupa.com but i can only Just get my head around the basic XML tutorial.
I can make a page that will display the XML data, but the next task is to figure out how to inject the data (a couple of numbers and maybe some text) into my previous PHP code e.g. <? echo $fade; ?> (fade being an integer)
My XML file would be:
Beyond displaying them, I am lost. For what i need, they do not need displaying, but simply passed into the PHP code shown.
Links to good, easy to understand XML tutorials are very welcome!
Currently I am using SQL to store some variables, but I wish to change this to XML.
I have started looking at the tutorials on Kirupa.com but i can only Just get my head around the basic XML tutorial.
I can make a page that will display the XML data, but the next task is to figure out how to inject the data (a couple of numbers and maybe some text) into my previous PHP code e.g. <? echo $fade; ?> (fade being an integer)
My XML file would be:
Code:
<?xml version="1.0"?>
<variables>
<fade>1</fade>
<holdLength>5</holdLength>
</variables>
Beyond displaying them, I am lost. For what i need, they do not need displaying, but simply passed into the PHP code shown.
Links to good, easy to understand XML tutorials are very welcome!