I am trying to do something that should be easy, but with problems.
All I want to do is generate a report from a MySQL table and have it as a simple .txt file. I need a fixed file width, so everything is lined up and looks good. I'm going to use a courier mail font and it will just be a barebone table, but how can I get everything to line up, like a fixed-width file?
Do I need to create an array of values โโfilled with spaces to get them the same width? or is there a php function for writing at a specific position?
Thanks again for your help!
php
Reg h
source share