I am trying to parse a xml file that i have (using javascript DOM). and then i want to insert this data in a mysql table (using php).
I know how to parse xml data. But i am unable to figure out how to use php and javascript together and insert data in mysql table.
Kindly help me in this.
Best
Zeeshan
Why don’t you just use PHP DOM to parse the XML ?
e.g:
After loaded your document
$docyou can use the PHP DOM functions.