In mysql, the table consist of informationtype, status and informationno ,
$information = mysql_query("SELECT * FROM table WHERE informationtype='message' AND status='waiting'");
$row = mysql_fetch_assoc($information);
$result=($row['informationno']);
The query result are 4 rows. The informationno are 11001; 11002; 11007; 11009;
If I intend to express the results in term of ( 11001, 11002, 11007, 11009)