title: Can you use one single product layout page to display products once clicked on?
body: <p>I want to use one single page with pre-defined divs, layout etc. as basis so that when a product is clicked on from elsewhere it loads that product info onto the page?</p>
  
  <p>They way im doing it ill be sitting here till about 2020 still typing out product info onto pages.</p>
  
  <p>EDIT*************</p>
  
  <pre><code>function product ()
  {
      $get = mysql_query ("SELECT id, name, description, price, imgcover FROM products WHERE size ='11'");
      if (mysql_num_rows($get) == FALSE)
      {
          echo " There are no products to be displayed!";
      }
      else
      {
          while ($get_row = mysql_fetch_assoc($get))
          {
              echo "&lt;div id='productbox'&gt;&lt;a href=product1.php&gt;".$get_row['name'].'&lt;br /&gt;
              '.$get_row['price']. '&lt;br /&gt;
              ' .$get_row['description']. '&lt;br /&gt;
              ' .$get_row['imgcover']. "&lt;/a&gt;&lt;/div&gt;" ;
          } 
      }
  }
  </code></pre>
  
  <p>In addition one problem I have with that code is that the <code>&lt;a href&gt;</code> tag only goes to product1.php. Any ideas how I can make that link to blank product layout page that would be filled with the product info that the user has just clicked on, basically linking to itself on a blank layout page. </p>
  
  <p>Thanks any help would be great!
  Thanks Maxyy</p>