title: How to properly deal with temporary/useless variables $i=$j=$k=0
body: <p>So my question is how should we properly deal with variables when coding. For example my code uses like 6-7 loops. Here is an example:</p>
  
  <pre><code>for($i=0; $i&gt;$relevantnametothevariable; $i++){
      for($k=0; $k&gt;againrelevantname; $k++)
  } 
  </code></pre>
  
  <p>Usually I'm using the same letters for many different pages which sometimes messes up my code and I have to figure out where the problem is and usually it's because I used the same <code>$j</code> variable in few places.</p>