Thanks, you are correct, only thing is I have tried every permutation to put that in this line:
<td rowspan="300" width="17%" align="center" bgcolor="#FFFFFF">
I tried:
rowspan=$num
rowspan="$num"
rowspan=$num;
rowspan=<? $num ?>
rowspan=<? $num; ?>
rowspan=<? "$num" ?>
rowspan=<? "$num; ?>
rowspan=<? ..............................
Gaddoing!!
Regards