PHP: Remove URL Param?

前端 未结 6 1864
感情败类
感情败类 2021-01-26 19:38

I have a function that I call with ?clear-cart appended to the end of my page; as you can probably guess, this function clears the user\'s cart.

I call it l

6条回答
  •  南方客
    南方客 (楼主)
    2021-01-26 19:45

    You can write your cart clearing code in another script and have it redirect back to your page when it's done.

提交回复
热议问题