I have a form displaying in a table dynamically working properly but my issue is if one field is empty in database in front end I want to hide that field. Here is my view code:
<?php
foreach($jobs as $row)
{
?>
<tr>
<?php
if($row->job_advantage_skills = '')
{?>
<td valign="middle"><strong>Advantage:</strong><?php echo $row->job_advantage_skills; ?></td>
<?
}
?>
</tr>
<?
}
?>
Here I have given if($row->job_advantage_skills = '') {}
for this I want to hide if there is advantage skills hide this field in front end.