HTML Form: why action can't have get value in it?

前端 未结 7 2273
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-19 12:07

When i try the following structure, it does\'t send id=value

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-19 12:32

    Isn't it because this would send a request to

    some.php?id=vaule?name1=value1

    instead of

    some.php?id=vaule&name1=value1 ?

    As far as I know a query string only has one "?" and a "?" is appended to the URL when you use GET parameters.

提交回复
热议问题