statement.. tell me why is not writing the icon..
<?php
if(!empty($settw)){
if(!$settw == 'NULL'){
echo'<li class="list-inline-item"><a href="'.$settw.'" target="_blank"><i class="fa fa-twitter" style="color: var(--blue);"></i></a></li>'; }
}?>
<?php if(!empty($settw)){ if($settw != 'NULL'){ echo'<li class="list-inline-item"><a href="'.$settw.'" target="_blank"><i class="fa fa-twitter" style="color: var(--blue);"></i></a></li>'; } }?> Can you check if this works!
You're seeing if $settw is not the string 'NULL' instead of NULL. I'm not sure if that's what you're intending
Обсуждают сегодня