title: PHP Popup Page show content of records in db
body: <p>I have links on a PHP page where it lists all records from a database.</p>
  
  <p>The links look like this:</p>
  
  <p><code>&lt;a href="http://domain.com?id=1"&gt;View Records&lt;/a&gt;</code> &lt;--ID at the end</p>
  
  <p>What I want to do it to click on that link and option a popup what shows all fields from id 1</p>
  
  <p>What's the easiest way to show all fields where id=1 on a popup when I click the link?</p>
  
  <p>For example: I have a table like this:</p>
  
  <pre><code>id | name | surname
  --------------------
  1  | Bob  | brown
  2  | Ken  | blob
  </code></pre>
  
  <p>and I click on a link that looks like this:</p>
  
  <pre><code>&lt;a href="http://domain.com?id=1"&gt;View Records&lt;/a&gt;
  </code></pre>
  
  <p>I need a popup to open and display something like this:</p>
  
  <pre><code>ID - 1
  Name - Bob
  Surname - Brown
  </code></pre>