php - XML Parsing With SQL stored variables -


sti have problem trying parse xml using php , simplexml_load_file. problem having more php storing parsing operators in sql database dynamically assigned different users. when sql database pulls these variables instead of parsing xml show variable.

is there way around this?

here example :

$child->productidentifier[1]->b244 

would publication date child node instead of doing print '$child->productidentifier[1]->b244'.

the code using :

$xml = simplexml_load_file(file.xml); foreach($xml->children() $child) {  echo "<br>".$xml_parse_items['product indentifier']."<br>"; } 

the xml parse items array pulled xml database , ['product indentifier'] represented in array as: $child->productidentifier[1]->b244

it has fact im pulling $child->productidentifier[1]->b244 database , trying use $xml structure parsed.

any appreciated.

thanks


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -