Horje

How to use empty value if else not working

Follow the example.

index.php
Example: PHP
<?php if (!empty(trim($dimensions))) { echo $dimensions; } else { echo 'No';  } ?>
How to use empty value if else not working




Type:
php
Category:
Web Tutorial
Sub Category:
PHP String Tutorial
Uploaded by:
Admin