Skip to content
Advertisement

How to insert data in a XML sub tag

let’s suppose that i have this tag

JavaScript

with this html form

JavaScript

if I want to insert data I do

JavaScript

it work nicely without any problem now if we want to insert a data in the sub tag

JavaScript

I thought we should do something like

JavaScript

let’s suppose that we have “hello” in $_POST['something'] variable I expected to have something like

JavaScript

but it does not work

Advertisement

Answer

JavaScript

the output

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement