I have an xml file with a value I need to be read from a MySQL database. I'm not sure of the best way to include this value into the XML.
The database table only has 1 entry, 2 fields, ID and target, it's target I want to include.
The line in the XML file is:
<Gauge2RadialNeedle id="needle2" value="270" stroke="#000000" strokeWidth="1"
I need to replace the value - 270 - with the data from the database.
Hope someone can help, it's driving me nuts and Great Uncle Google has been useless this time!