Trying to display field heading only when field is not emply

Posted by Anees on Stack Overflow See other posts from Stack Overflow or by Anees
Published on 2010-03-29T16:35:03Z Indexed on 2010/03/29 16:53 UTC
Read the original article Hit count: 167

Filed under:

hi, here is my code.

<?php if(!empty($rows_Recordset1['domicile'])) 
    { 
    echo "Domicile"; 
   } 
   else {
    echo "";
} ?>

domicile is field in record set.

the problem is that Domicile heading is not showing where I want it to print. Its showing nothing.

© Stack Overflow or respective owner

Related posts about source-code