PhP/MySQL - how to add parameters like ?q=blabla to url : <p>I know this question must be very, very basic since even beginners are asking more advanced questions, but I can't find the answer.. I have searched for hours on this, so please condone my ignorance.</p>

<p><strong>What I have</strong>: localhost:8888/site/document.php</p>

<p>It loads some data from my MySQL database on this page, such as q = office.</p>

<p><strong>What I want</strong>: localhost:8888/site/document.php?q=office</p>

<p>Thanks in advance!</p>
