rash44
سه شنبه 09 تیر 1388, 12:28 عصر
سلام
من توی گزارش گیری 1 مشکل دارم
می خوام گزارش رو توی 1 جدول که 4 تا ستون داره چاپ کنم
اطلاعات من شامل نام - سمت و شماره ردیف هست
اگر گزارش فقط شامل 2 رکورد باشه می خوام اططلاعات فقط توی 1 سطر جدول چاپ بشه
کد :
<tr>
<td width="200" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['semat']); ?></font></td>
<td width="250" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['name'].' '.$info['family']); ?></font></td>
<td width="50" align="center">
<font face="Tahoma" style="font-size: 9pt" color="#333333"><?php echo $row; ?></font></td>
<td width="200" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['semat']); ?></font></td>
<td width="250" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['name'].' '.$info['family']); ?></font></td>
<td width="50" align="center">
<font face="Tahoma" style="font-size: 9pt" color="#333333"><?php echo $row; } ?></font></td>
</tr>
برنامه الان این خروجی رو به من میده
http://upload.iranblog.com/6/1246444815.gif
http://upload.iranblog.com/6/1246444815.gif
ولی من این خروجی رو میخوام
http://upload.iranblog.com/6/1246398920.gif
http://upload.iranblog.com/6/1246398920.gif
من توی گزارش گیری 1 مشکل دارم
می خوام گزارش رو توی 1 جدول که 4 تا ستون داره چاپ کنم
اطلاعات من شامل نام - سمت و شماره ردیف هست
اگر گزارش فقط شامل 2 رکورد باشه می خوام اططلاعات فقط توی 1 سطر جدول چاپ بشه
کد :
<tr>
<td width="200" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['semat']); ?></font></td>
<td width="250" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['name'].' '.$info['family']); ?></font></td>
<td width="50" align="center">
<font face="Tahoma" style="font-size: 9pt" color="#333333"><?php echo $row; ?></font></td>
<td width="200" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['semat']); ?></font></td>
<td width="250" align="center">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700" color="#333333"><?php echo($info['name'].' '.$info['family']); ?></font></td>
<td width="50" align="center">
<font face="Tahoma" style="font-size: 9pt" color="#333333"><?php echo $row; } ?></font></td>
</tr>
برنامه الان این خروجی رو به من میده
http://upload.iranblog.com/6/1246444815.gif
http://upload.iranblog.com/6/1246444815.gif
ولی من این خروجی رو میخوام
http://upload.iranblog.com/6/1246398920.gif
http://upload.iranblog.com/6/1246398920.gif