Re: How do you format a string with tabbed output to print in the browser? Nothing seems to work!
| From: | Jason T. Greene | Date: | Mon, 08 Jul 2002 20:08:58 +0000 |
| Subject: | Re: How do you format a string with tabbed output to print in the browser? Nothing seems to work! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85847@lists.php.net to get a copy of this message | ||
Gina,
This list is for the development OF php not with php, please post
questions like these to php-general@lists.php.net.
-Jason
On Mon, 2002-07-08 at 14:17, 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
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>