php查询字符串问题 [英] php query string problem

查看:68
本文介绍了php查询字符串问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

html doc包含以下代码:

A html doc contains following codes:

<html>
  <form action="http://www.educationboardresults.gov.bd/result.php" method="post" >
  <tr align="center">
        <td width="60%"> <select name="board" class="textfield06">
                      <option value="Dhaka">--Select Board--</option>
             <option selected="selected" value="dhaka">Dhaka</option>
          </td>
       </tr>
         <tr align="center">
         <td>
          <input name="roll" class="textfield06" maxlength="6" type="text" value=123486>
         </td>
       </tr>
  <tr align="center">
         <td>
           <input name="Submit" class="submit" value=" View Result" type="submit">
         </td>
       </tr>
 </form>
</html>





如果点击查看结果,它会显示一个有效的结果。

但如果我点击下面的链接,它就不会返回结果。我之前做过。为什么它不起作用?

http: //www.educationboardresults.gov.bd/result.php?board=dhaka&roll=123456 [ ^ ]

返回错误:卷号不匹配或错误卷号



如果你想看到我的问题你可以去:

http://www.educationboardresults.gov.bd [ ^ ]



If I click on View Result it shows a valid result.
But if I click the below link it doesn't return a result. I did that before. Why it is not working?
http://www.educationboardresults.gov.bd/result.php?board=dhaka&roll=123456[^]
Returns an error: "Roll number doesn't match or wrong roll number"

If you want to see my problem you can go:
http://www.educationboardresults.gov.bd[^]

推荐答案

返回错误:卷号不匹配或错误滚动编号

这不是错误dude,它是基于标准的应用程序的自定义消息。实际上数据库中不存在卷号,这就是你收到该消息的原因。


我以前做过。为什么它不起作用?

此前,详细信息可能适用于合适的卷号但现在不是。

卷号详细信息已被删除或禁用。

检查数据库是否存在该特定数字的任何细节。
Returns an error: "Roll number doesn't match or wrong roll number"
It's not error dude, it's customized message by application based on criteria. Actually that roll number not exists in the database that's why you are getting that message.

I did that before. Why it is not working?
Here before the details might be there for the appropriate roll number but not now.
Either the roll number details has been deleted or disabled.
Check the database if any details exists for that particular number.


我认为您应该使用GET表格Methad
i think you should use "GET" for form Methad


我认为你应该使用GET表格methoMethaddmethod
i think you should use "GET" for form methoMethaddmethod


这篇关于php查询字符串问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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