pass information from page to page-best seo

Adding information to the URL: You can add certain information to the
end of the URL of the new page, and PHP puts the information into builtin
arrays that you can use in the new page. This method is most appropriate
when you need to pass only a small amount of information.

1. Storing information via cookies: You can store cookies — small
amounts of information containing variable=value pairs — on the
user’s computer. After the cookie is stored, you can get it from any
Web page. However, users can refuse to accept cookies. Therefore, this
method works only in environments where you know for sure that the
user has cookies turned on.

2. Passing information using HTML forms: You can pass information to a
specific program by using a form tag. When the user clicks the submit
button, the information in the form is sent to the next program. This
method is useful when you need to collect information from users.

3. Using PHP session functions: Beginning with PHP 4, PHP functions
are available that set up a user session and store session information
on the server; this information can be accessed from any Web page.
This method is useful when you expect users to view many pages in a
session.

Add information to the URL

A simple method  to move information from one page to the next is to add the
information to the URL. Put the information in the following format:
variable=value
The variable is a variable name, but do not use a dollar sign ($) in
it. The value is the value to be stored in the variable. You can add the
variable=value pair anywhere that you use a URL. You signal the start of
the information with a question mark (?). The following statements are all
valid ways of passing information in the URL:
<form action=”page.php?price=4545” method=”POST”>
<a href=”page.php?price=654”>page</a>
header(“Location: page.php?tips=SEO”);