使用php在xml标记中输出动态链接 [英] outtputting dynamic link in xml tag using php

查看:68
本文介绍了使用php在xml标记中输出动态链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试创建一个xml标签引用来保存link.php?id = 1;或者

link.php?id = 2等等。

我想要数据库中所有字段(id)的链接,这样我就可以了
在谷歌地图的html页面中调用它们我有完整的链接。我正在使用的php页面中的

标签是


echo ''ref =" link.php?id =''。$ row [''id'']。 ''"'';

html中的标记是

< a href =" + ref +">" +"更多信息" +"< / a>"


Link.php接收ID并运行查询并显示基于
$ b $的结果b。身份证。


请告诉我,我所做的事情是礼还是错。还有什么是

最佳方式让我继续这个。

感谢你,

Prashant Kalyanraman

解决方案

row [''id'' ]。 ''"'';

html中的标记是

< a href =" + ref +">" +"更多信息" +"< / a>"


Link.php接收ID并运行查询并显示基于
$ b $的结果b。身份证。


请告诉我,我所做的事情是礼还是错。还有什么是

最佳方式让我继续这个。

感谢你,

Prashant Kalyanraman


prashant写道:


hi,

i我试图创建一个xml标签引用来保存link.php?id = 1;或者

link.php?id = 2等等。

我想要数据库中所有字段(id)的链接,这样我就可以了
在谷歌地图的html页面中调用它们我有完整的链接。我正在使用的php页面中的

标签是


echo ''ref =" link.php?id =''。


row [''id'']。 ''"'';

html中的标记是

< a href =" + ref +">" +"更多信息" +"< / a>"


Link.php接收ID并运行查询并显示基于
$ b $的结果b。身份证。


请告诉我,我所做的事情是礼还是错。还有什么是

最佳方式让我继续这个。

感谢你,

Prashant Kalyanraman



只要数据没有安全问题,它应该工作

罚款。


-

=============== ===

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


hi,
i am trying to create an xml tag ref to hold link.php?id=1; or
link.php?id=2 and so on.
I want the links for all the fields(id) in the databse so that when i
call them in my html page for google maps i have the whole link.The
tag in the php page i am using is

echo ''ref="link.php?id=''.$row[''id''] . ''"'';
the tag in html is
<a href="+ref+">" +"more info"+ "</a>"

Link.php takes in the id and runs a query and displays results based
on id.

Please tell me if what i am doing is rite or wrong.Also what is the
best way for me to go ahead with this.
Thanking You,
Prashant Kalyanraman

解决方案

row[''id''] . ''"'';
the tag in html is
<a href="+ref+">" +"more info"+ "</a>"

Link.php takes in the id and runs a query and displays results based
on id.

Please tell me if what i am doing is rite or wrong.Also what is the
best way for me to go ahead with this.
Thanking You,
Prashant Kalyanraman


prashant wrote:

hi,
i am trying to create an xml tag ref to hold link.php?id=1; or
link.php?id=2 and so on.
I want the links for all the fields(id) in the databse so that when i
call them in my html page for google maps i have the whole link.The
tag in the php page i am using is

echo ''ref="link.php?id=''.


row[''id''] . ''"'';
the tag in html is
<a href="+ref+">" +"more info"+ "</a>"

Link.php takes in the id and runs a query and displays results based
on id.

Please tell me if what i am doing is rite or wrong.Also what is the
best way for me to go ahead with this.
Thanking You,
Prashant Kalyanraman

As long as there are no security concerns with the data, it should work
fine.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


这篇关于使用php在xml标记中输出动态链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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