title: How to extract comma separated column values from database using php
body: <p>In my database table there is a column named 'marks' . it contains values like 50,55,67,88,...
  Now I need to read this values one by one like - first 50, then 55 and so on. How is it possible using php ?  </p>
  
  <pre><code>include("db_connect.php"); 
     $result = mysql_query("SELECT * FROM  students   ",$con);
     while($rows = mysql_fetch_array($result))
  {
     $mark1=$rows['marks'];//what will do here
     $mark2=$rows['marks']; //should get value 55 and so on
  }
  </code></pre>