How to use multiple files in a php webpage
<p>I am creating a webpage with PHP/MySQL, and each page is in its own .php file.</p>

<p>How should I organize the addressbar, when changing the viewing page?</p>

<p>I have thought of two different ways to solve this:</p>

<pre><code>1) www.mywebpage.com/?page=REFERENCES+pageid=GUID_TO_USE_FOR_DB_LOOKUP

2) www.mywebpage.com/references.php?GUID_TO_USE_FOR_DB_LOOKUP
</code></pre>

<p>Which should I choose? Are there other ways to do this?</p>

<p>Edit: When the user clicks a link to another page, I want to redirect the user to the corresponding .php file. The question is how to show this in the addressbar in the web browser.</p>

<p>With the GUID_TO_USE_FOR_DB_LOOKUP, I want to pass parameter to the .php file</p>
