Hi,
im working on a site that will basically pull records from a database, and store it all as XML, in a php string.
then i will be using xslt to transform it.
What i want to know is....
in my php if i want to have a variable which will contain my xml string...eg
$xml_string = " etc etc ";
then inside the quotes am i able to do php functions such as a while loop for each of the rows in the db?
I obviously want the results from the query rather than "while()2 being output in the string.
Just wondering if the while loop would trigger, and the variable would just contain the values i wanted it to contain.
Thanks