If you really want to output an Excel file with almostly everything possible in Excel, you should use the following easy to use set of PHP classes:
使用PHP在Excel中使用单元格边框
I'm using clean php to draw excel table:
$xls .= "Field\t\Cell1\t\Cell2\tCell3
"
$xls .= chr(hexdec('FF')) . chr(hexdec('FE')) . $xls; //headers
echo $xls;
Is there any way to draw cell borders without using excel-library?
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
3条回答
为你推荐
- 使用PHP在Excel中使用单元格边框
- excel
- php
- 3个回答
- 是否可以使用Laravel Excel为整列添加边框?
- php
- laravel
- 1个回答