佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 918|回复: 5

new line with same column for excel file--urgent

[复制链接]
发表于 30-8-2006 09:46 PM | 显示全部楼层 |阅读模式

header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=excelfile.xls");
header("Pragma: no-cache");   
header("Expires: 0");


i had created an excel file by set the header.

now my problem is how can i go to new line in one column???

i had using tag "<br />" but it go to next row with same column..

but now my supervisor required to set it to new line in same column..


how can i set it??

thanks.
回复

使用道具 举报


ADVERTISEMENT

发表于 30-8-2006 10:16 PM | 显示全部楼层
if i not mistaken, to output excel, you better use table to control for each coloum or row.
回复

使用道具 举报

发表于 31-8-2006 02:35 PM | 显示全部楼层
原帖由 8years 于 30-8-2006 10:16 PM 发表
if i not mistaken, to output excel, you better use table to control for each coloum or row.



try "\n"
回复

使用道具 举报

 楼主| 发表于 31-8-2006 08:56 PM | 显示全部楼层
原帖由 zerocool 于 31-8-2006 02:35 PM 发表



try "\n"



try be..but also cant
回复

使用道具 举报

 楼主| 发表于 31-8-2006 08:58 PM | 显示全部楼层
原帖由 8years 于 30-8-2006 10:16 PM 发表
if i not mistaken, to output excel, you better use table to control for each coloum or row.



i use table alre..but i want show out some text in new line...

when i use <br /> it go to next row within same column....then for other column jz empty...
回复

使用道具 举报

发表于 1-9-2006 04:41 PM | 显示全部楼层
you cant do break even you are inside in excel, you can fix the coloum width, then it will wrap the text to be next line but same row same coloum.
回复

使用道具 举报

Follow Us
您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 14-11-2024 02:36 AM , Processed in 0.118117 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表