title: How to display multiple values using php and mysql?
body: <p>How can you display multiple values from the same mysql field using php and mysql</p>
  
  <p>Here is the code I have already</p>
  
  <pre><code>&lt;?php
  if(!empty($skill) || !empty($years) || !empty($rating)){
      if (!empty($skill))
      {
          echo '&lt;p&gt;' . $skill . '&lt;/p&gt;';
      }
      if (!empty($years))
      {
          echo '&lt;p&gt;' . $years . '&lt;/p&gt;';
      }
      if (!empty($rating))
      {
          echo '&lt;p&gt;' . $rating . '&lt;/p&gt;';
      }
      }
  ?&gt;
  </code></pre>
  
  <p>What I'm trying to ask is that I want the above code to loop the above three echos contents and variables until the data entered into the database is fully displayed for example if the user entered 1-100... different skills, years and ratings display all the entered data.</p>
  
  <p>I hope I'm explaing it right</p>