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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.