Empty field – PHP

if ($result['Time'] == "") {
echo '';
}
else {
echo ', '.$result['Time'].'';
}

Leave a Reply

Your email address will not be published. Required fields are marked *