Web pages on a website display web pages using GET to retrieve variables from a predefined URL. For example, the code on the first page: index.php
<p><a href="/blank.php?name1=value1&name2=value2">next page</a></p>
Second page: blank.php?name1=value1&name2=value2
$name1 = $_GET['name1'] ; $name2 = $_GET['name2'] ; echo $name1 ; echo $name2 ;
In this way, web pages are created in place and displayed as CMS and Iuse this method for all web pages that my site has, but if the user bookmarks the bookmarks, they will have outdated information for this web page because this page contains content in the url.
EDIT: If I were using post , would this be the best way to pass this information to a new webpage? instead:
<form method="post" action="blank.php"> <input type="hidden" name="name1" value="value1"> <input type="submit"> </form>
source share