使用MySQL和PHP创建XML [英] Create XML with MySQL and PHP

查看:58
本文介绍了使用MySQL和PHP创建XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨有剂量有人知道天气php可以输出XML

Zar

Hi there dose anyone know weather php can output XML
Zar

推荐答案

是的,是的,它可以。 XML就像HTML,但具有不同的标记。还有其他问题吗?
Yes, yes it can. XML is just like HTML, but with different markup. Any more questions?


您好我已经使用MySQL和php创建了xml,但是我需要从我的数据库中选择特定的行我会尝试在我的查询中使用WHERE但是这是行不通的,你可以帮我这里是我的代码:

//
Hi thanks I''ve create xml using MySQL and php, but i need to select paticular rows from my data base I''v try using WHERE in my query but this is not working can you help here is my code:
//
展开 | 选择 | Wrap | 行号


什么应该是你的xml文件的结构?向我们展示。

我的编码不够清楚。


如果是我,我会创建我的XML元素这个。

what should be the structure for your xml file? show it to us.
it is not clear enough for me in your coding.

if it is me,I''ll create my XML elements like this.

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号


这篇关于使用MySQL和PHP创建XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆