【发布时间】:2017-02-22 09:53:13
【问题描述】:
<input name="CONTACT_PHONE" placeholder="contact phone" class="form-control" type="text">
通过 POST 获取代码
$contactphone = $_POST['CONTACT_PHONE'];
加载xml文件
$xml = simplexml_load_file("JOBS.xml");
获取存在标签
$tagcontactphone = xml -> getElementsByTagName("CONTACT_PHONE")
如何将$contactphone放入$tagcontactphone并保存xml文件?
【问题讨论】: