Jump to content

Trying to echo text IF listing text is empty


Mark Whitmore

Recommended Posts

Mark Whitmore

This code should work on listing detail, right?

<?php if (empty($listing['Listing']['text']): echo "No summary has been added just yet"; else: ?>
 // Continue

Except it doesn't. What am I doing wrong? 

Link to post
×
×
  • Create New...