If the website id 0 I would like to add $this->lang->line('text_default');
otherwise does not show that lang line. Currently it shows on all of them.
How can I get it to only display $this->lang->line('text_default)
if $website['website_id'] = number 0
For some reason it thinks 0
is false
.
<?php if ($website['website_id'] = 0) {?>
<td class="text-left"><?php echo $website['name'];?> </td>
<?php } else { ?>
<td class="text-left"><?php echo $website['name'] . $this->lang->line('text_default'); ?> </td>
<?php } ?>