使用php中的超链接发送多个数据 [英] send multiple data using hyperlink in php

查看:161
本文介绍了使用php中的超链接发送多个数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好....我真的需要帮助....
我可以做这个超链接以将我的数据传递到其他页面吗...

hello guys....i really need help here....
can i do this hyperlink to pass my data to other page...

<a href="viewWall.php?''stud_name=<?php echo $row[''stud_name''];?>''&&''matric_no=<?php echo $row[''matric_no''];?>''"></a>




谢谢大家...我真的很感激...




thanks guys...i really appreciate it...

推荐答案

row [''stud_name''];?>''&&''matric_no =<?php echo
row[''stud_name''];?>''&&''matric_no=<?php echo


row [''matric_no''];?>''></a>
row[''matric_no''];?>''"></a>




谢谢大家...我真的很感激...




thanks guys...i really appreciate it...


好吧,我想您在这里问的是是否可以在其中使用"&&"(和其他一些特殊字符)查询字符串参数名称.

如果是这样,答案是可以".您需要做的只是逃脱它们.最好是对字符使用unicode,以便在渲染时所有内容都完整无缺,然后正确启动形成的URL.

您可以通过谷歌转义字符,并自己进行快速测试.
Well, I guess what you are asking here is if ''&&'' (and some other special characters) can be used in a query string parameter name.

If so, answer is ''Yes'' you can. All you need is to escape them. Best would be to use unicode for the characters such that everything is intact at the time of rendering and then the URL formed is launched properly.

You can just google on escaping the characters and do a quick test all by yourself.


这篇关于使用php中的超链接发送多个数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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