title: echo $_GET['id'] not displaying anything
body: <p>I have a page in which a user chooses a recipe which has a unique ID, they are then sent to another page where the information for that recipe is displayed but it is not displaying anything.</p>
  
  <pre><code>$recipes = mysql_query("
          SELECT DISTINCT `name`, `step1`, `step2`, `step3`, `image`, `reference`
          FROM `recipe` r
          INNER JOIN `recipe_ingredients` ri
          ON r.id = ri.recipe_id
          WHERE ri.ingredient_id IN (".$ingredient1.",".$ingredient2.",".$ingredient3.")
      ");
  </code></pre>
  
  <p>This is the query on the main page, this allows the user to choose a set of ingredients and then retrieve recipes from them.</p>
  
  <pre><code>echo '&lt;form action="recipe.php?id=&lt;?php echo $recipe_id;?&gt;" method="POST"&gt;';
          echo '&lt;input id="search" name="Look" type="Submit" value="Look" &gt;';
          echo '&lt;/form&gt;';
  </code></pre>
  
  <p>Under each recipe there is a button a user presses, this will send the user to the specific recipe.</p>
  
  <pre><code>$sql = mysql_query("SELECT `name`, `image`
  FROM `recipe` 
  WHERE `id` = ".$_GET['id']." LIMIT 1");
  </code></pre>
  
  <p>This is the query I'm running on the results page (recipe.php)</p>
  
  <p>Further down the page I ran this.</p>
  
  <pre><code>&lt;?php
  echo $_GET['id'];
  ?&gt;
  </code></pre>
  
  <p>It didn't display an ID and in the url I was displayed with this:</p>
  
  <blockquote>
    <p>"recipe.php?id="</p>
  </blockquote>
  
  <p>There is data in the table so what am I doing wrong?</p>