![]() |
Sometimg If you use if empty tag for php it does not work else element. Use if |
Follow the example.
Example:
PHP
<?php if (!empty(trim($dimensions))) { echo $dimensions; } else { echo 'No'; } ?>
How to use empty value if else not working | PHP String Tutorial |
Read Full: | PHP String Tutorial |
Category: | Web Tutorial |
Sub Category: | PHP String Tutorial |
Uploaded by: | Admin |
Views: | 108 |