PHP if (!empty) functionCategories: Here is a Drupal PHP example using !empty that checks to see if a particular field has content. If the field IS NOT empty, then display the contents of that field. Else, output a text string. Example: <?php if(!empty($crop)){ ?> |