SELECT id,p_symbol,score,date FROM nifty_score WHERE `status` = 0 AND `p_symbol` ='SUNPHARMA' ORDER BY date ASC Displaying MySQL Data in HTML Table