Hi,
>
> but I'm only getting the first three columns of data.

I guess your fourth column contains a NULL, which turn to undef in Perl and
Embperl stop the autotable if it see the first expression which result is
undef and which contains $row or $col.

If your data contains NULL's use the following code:

 <table>
   <tr><th>[+ $head->[$col] +]</th></tr>
   <tr>[- $rec = $dat->[$row] -]
        <td>[- $i = $col ; $head->[$i] -][+ $rec->[$i] +]</td>
   </tr>
</table>

This doesn't look as nice as the original code, but makes sure that no
expression that contains $row or $col returns undef, if it shouldn't

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to