PHP web app to Excel file



  • I can write to an excel file just fine - columns/rows, font sizes/colors, borders - that stuff is all easily done.  What I am completely unable to figure out is how to set a column's width.  Right now the column is just the width of the contents of the row with the widest(most) content.  I would like it so that the column is always a set width, regardless if there is content or not.

    If anyone can help me out I'd appreciate it.  Given how easy the above things are, I'm guessing that this is trivial, too. 

    Thanks,

    Shaun
     



  • I guess people could help you much better if you told them which library/tool you are using...



  • @ammoQ said:

    I guess people could help you much better if you told them which library/tool you are using...

    Judging by the avatar, the tool is a couple of whitish rock-like devices.



  • Reinventing the wheel?  try a PEAR:


Log in to reply