I am trying to check if my field has data, if it does then display the header and the text within the field.
Can someone point out where I am going wrong? So what I tried to do was
1. check if field 'other' has data
2. if yes then display heading and data in field
3. if not then do nothing
Thanks
Code:
<?php
if(!($rs1['other']==0)) {
echo "<b>Other </b><br /><br />" .
echo $rs1['other'];
}
?>
Can someone point out where I am going wrong? So what I tried to do was
1. check if field 'other' has data
2. if yes then display heading and data in field
3. if not then do nothing
Thanks