Pound sign (#) not working in PHP

前端 未结 2 896
心在旅途
心在旅途 2020-12-11 12:23

I have variable \'cno\' and it\'s values sometimes have 123# - ( end with pound sign. )

The problem is, after passing the URL I couldn\'t get variable w

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-11 12:46

    # in a URL indicates a document fragment. URL-encode your values before sending them.

提交回复
热议问题