如何将此值注入URL? [英] How do I inject the value of this into the url?

查看:84
本文介绍了如何将此值注入URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 <   input    类型  =  text    class   =  textbox    name   = 评论    size   =  35    maxlength   =  250    value   =     style   =   width:95%    /  >  





我想插入它以便是这样的:



 adress.com?action=&comments=adede 





但它不适用于评论,我似乎无法弄清楚还有什么..

解决方案

请您查看以下链接,它将解释如何将值从一个php页面传递到另一个php页面..





< a href =http://www.ysquared.org/php/basics/use-the-query-string/> http://www.ysquared.org/php/basics/use-the-query-string/ [ ^ ]



http://html.net/tutorials/php/lesson10.php [< a href =http://html.net/tutorials/php/lesson10.phptarget =_ blanktitle =新窗口> ^ ]



http://stackoverflow.com/questions/8469767/get-url-query-string [ ^ ]

<input type="text" class="textbox" name="comments" size="35" maxlength="250" value="" style="width: 95%" />



I want to insert it so it would be like this:

adress.com?action=&comments=adede



but it doesn't work with comments, and I can't seem to figure out what else..

解决方案

can you please review below link, it will explain how to pass value from one php page to anther php page..


http://www.ysquared.org/php/basics/use-the-query-string/[^]

http://html.net/tutorials/php/lesson10.php[^]

http://stackoverflow.com/questions/8469767/get-url-query-string[^]


这篇关于如何将此值注入URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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