I am showing a message to all my students using MySQL for which I am using this:
<?php
while ($row_settings = mysql_fetch_array($rs_settings)) {
echo $row_settings['message'];
}
?>
But I want to show a message to user if the message field is blank.
Like so.
if !empty(message)
show (You have not subscribed any subject)
else show (message)