title: Create a variable for while loop results
body: <pre><code>while ($topic = mysql_fetch_assoc ($result)); {
     echo "{$topic["overtag "]} ";
  }
  </code></pre>
  
  <p>The results from my while loop are displayed as such:
  apples orange banana</p>
  
  <p>I want to be able to take all those results and put them in a variable and make it look like this:
  $fruits = apples orange banana</p>
  
  <p>How would I be able to do this?</p>