views output file alterations
Please provide the markup that's currently produced by this code. The PHP logic looks fine but it's not cleat if $field-&gt;label_html has a value that will trigger and of the if statements. As a bare minimum you should be getting:

&lt;table width=100% border=1&gt;
&lt;/table&gt;