Pass variable values to another php file?
<p>Basically, I have a page where you search for a term, and the database is queried, those terms are spit out that contain the query and paginated like so:</p>

<pre><code>1 2 [3] 4 5

MATTHEW 1:18
Now the birth of Jesus Christ was on this wise: When as his mother Mary was espoused to Joseph, before they came together, she was found with child of the Holy Ghost.

MATTHEW 1:21
And she shall bring forth a son, and thou shalt call his name JESUS: for he shall save his people from their sins.

MATTHEW 1:25
And knew her not till she had brought forth her firstborn son: and he called his name JESUS.
</code></pre>

<p>This I have completed, the below I have not:</p>

<p>When I click on "Matthew", it should list all the verses and chapters in "Matthew" in a new page, paginated.</p>

<p>When I click back(in the browser), it should go back to the previous paginated result set(above), and when I click forward (in the browser), it should show me the page of all verses and stuff from the bible section I clicked on (Matthew).</p>

<p>I have absolutely no idea how to even start on any of this.</p>
