0

Can anyone explain what this line of code means? I don't know much of php at all, but I need to be able to read this.

<?= !empty($val['code_id']) ? $val['code_id'] : '-' ?>

I know that using a ? and : is short hand for if/then, but I don't know what the <?= ?> means.

I couldn't find anything on Google that was helpful.

Andrea
  • 918
  • 2
  • 9
  • 13

0 Answers0