title: Nothing, when trying to echo SQL row?
body: <p>So I managed to connect mysql database with my website and I tried to echo a row value, but when I do that I get completely nothing, not even an error, just a blank spot.</p>
  
  <pre><code>//GET CITY RESOURCES
  
  $query = "SELECT lumber, clay, iron, crop FROM resources WHERE id = '$cityresourcesid'";
  $result = mysqli_query($conn, $query);
  $row = mysqli_fetch_assoc($result);
  
  
  $lumber = $row['lumber'];
  $clay = $row['clay'];
  $iron = $row['iron'];
  $crop = $row['crop'];
  </code></pre>
  
  <p>Then I try to echo it, on the page.</p>
  
  <pre><code>&lt;div class="resources"&gt;
      &lt;h3&gt;Production per hour:&lt;/h3&gt;
      &lt;?php
          echo "Lumber: ".$lumber;
      ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And this is what I get: 
  <a href="http://i.stack.imgur.com/vGqhk.png" rel="nofollow">Screenshot</a></p>
  
  <p>Weird thing is that it didn't give me any errors? And when im writing this sentence the value in "lumber" column is 500.</p>