Support

Account

Home › Forums › Front-end Issues › Hiding link if empty in a repeater row › Reply To: Hiding link if empty in a repeater row

  • Then I would probably do something like

    
    $text = $row['text'];
    if (!empty($row['link'])) {
      $text = '<a href="'.$row['link'].'">'.$text.'</a>';
    }
    echo $text;