I don't know how to enquiry the "informationtype" which are message and email? How to rewrite the below code?
$information = mysql_query("SELECT * FROM table WHERE informationtype='message'");
$row = mysql_fetch_assoc($information);
$result=($row['informationno']);