[eluser]dimaomni[/eluser]
hello guys!
when I just output $marks all has been outputed good.
about output - it is table where is cells with marks and empty cells
when I've started used anchor function in empty cells has outputed links.
So how to avoid this situation ?
There is some piece of code:
Code:
foreach ($output_array as $key=>$marks)
{ ?>
<td><?=anchor('index.php/adminka/'.$marks, $marks)?>
<?=(!$marks) ? " ":NULL // however if $marks = 0, it output &npsp;?>
</td>
Thanks!