PHP add/modify a query string param & get the URL

后端 未结 2 581
情深已故
情深已故 2021-02-05 23:39

How can redirect the user back to the same page with the existing Query Strings but have 1 added/modified like \"page\".

I suppose 1 method is:

  1. parse the
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-05 23:58

    Just to make sure you know about it, use parse_str to parse your query string:

提交回复
热议问题