Correct syntax for hyperlink URL with PHP $_GET

后端 未结 3 386
我在风中等你
我在风中等你 2020-12-06 23:56

I am wondering how I would put information from my website in the URL on the first page of my site, and then on the next page, use $_GET to get the variables fr

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 00:24

    Example Link: http://example.com/page.php?name=Charles

    If you used $_GET["name"] it would return the value Charles

    For more information on $_GET look at http://php.net/manual/en/reserved.variables.get.php

提交回复
热议问题