Hey I have a problem? The code below is not working with windows PHP (IIS 7) but it is working with Linux environment PHP. Anybody tell me why is that problem? But when i put the if condition inside the tag td it is working. Do you have resolution to this problem <?php if($rowdet['aaaddress']=='') { } else { ?> <tr> <td background="images/logo2_Layer 1.png" class="tdccolor">Address:</td><td><?php echo $rowdet['aaaddress']." "; if ($rowdet['aaaddress2']=='') { } else { echo $rowdet['aaaddress2']." "; } if ($rowdet['aaaddress3']=='') { } else { echo $rowdet['aaaddress3']."<br>"; } if ($rowdet['state']=='') { } else { echo $rowdet['state'].", "; } if ($rowdet['city']=='') { } else { echo $rowdet['city']."-"; } if ($rowdet['pincode']=='') { } else { echo $rowdet['pincode']; } ?></td></tr> <? } ?>
I don't know, but you may get a more answers here: http://forums.digitalpoint.com/forumdisplay.php?f=37 The PHP section of DP.