转换的表单数据的XML表单、数据、XML

由网友(人醒梦荒凉)分享简介:我使用PHP在我的联系表格发送电子邮件到,但我需要输出XML格式通过电子邮件发送。如何将表单数据转换为XML?我试图四处寻找这一点,但唯一有用的信息,我能找到的是为ASP。谢谢!I'm using PHP in my contact form to send an email to but I need the ou...

我使用PHP在我的联系表格发送电子邮件到,但我需要输出XML格式通过电子邮件发送。如何将表单数据转换为XML?我试图四处寻找这一点,但唯一有用的信息,我能找到的是为ASP。谢谢!

I'm using PHP in my contact form to send an email to but I need the output to be emailed in XML format. How do I convert the form data to XML? I tried looking around for this but the only helpful information I could find was for ASP. Thanks!

推荐答案

HTTP: //ie.php.net/manual/en/book.simplexml.php - 应该有您在任何时间运行

http://ie.php.net/manual/en/book.simplexml.php - should have you up and running in no time.

阅读全文

相关推荐

最新文章