hide div if empty

currently, the structure of your code is like this : <div class=”text”> <div class=”banner-title”>post_title post_content</div> <?php if ($apmeta[‘ssylka’][0] != ”) {?> <a href=”…” class=”button white”>More</a> <?php }?> </div> </div> in order to not generate the div.text tag, you can move the condition to obtain that : <?php if ($apmeta[‘ssylka’][0] != ”) {?> <div class=”text”> <div … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)