Planet Internet Nieuws wrote: > I've tried everything I can think of including variations with "\t" in a > printf(), chr(9), etc. I am trying to create a file based on form input > that will have columns of numbers with headings for those numbers. After I > process the form I write it to a file with the tabs. I'd like to print that > file to the screen to let the user see what was written. This all works > sans the tabs. It's driving me nuts!! I know that whitespace is ignored, > but when you use printf() I thought PHP was suppose to format the output. I > can't even get the fixed number of spaces to work with padding--it just > generates a bunch of whitespace that the browser ignores. > > Please HELP!!! > > Thanks, > > -Gina > >
If you're outputting HTML, try outputting the string within <pre></pre> HTML tags. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php