PHP code inside XML?

前端 未结 7 2182
名媛妹妹
名媛妹妹 2021-01-06 13:56

is it possible to put PHP code inside a XML document to be later executed? For example, can I say \" />

7条回答
  •  滥情空心
    2021-01-06 14:08

    Yes.

    Use this example code, filenamed 'example.php':

    
    

    Put the php in the xml file as how you put in html.

提交回复
热议问题