0 votes
66 views
asked in CSS by (4.2k points)
Hi

   If else condition in a php script

1 Answer

0 votes
answered by (8.2k points)

our IF statement doesn't actually do anything:

<?php if ($contentClass=="mainpage"){?> 
    style="width:100%;float:left;" 
<?php }else{?>
    style="width:100%;float:left;"
<?php} ?>>

Categories

...