|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
How about a <pre> if you just want to display preformated stuff.
N-Tropy
On Tue, Sep 02, 2003 at 12:11:46AM -0400, Paul wrote:
> Paul wrote:
>
> >Question for Perl and/or PHP people: How could I get PHP to honor the
> >\t in a text output from a Perl script?
> >
> >In PHP I'm using shell_exec() to call the Perl script and nl2br() to
> >convert \n to <br />. The \t is totally ignored. I don't care if the
> >final output is text or HTML. Help?
>
>
> I didn't notce this before. It looks like the tabs, or multiple spaces,
> are there. The browser removes all but one space as usual. Maybe I
> could check for \t and replace it with a few entities? I'm
> hoping there is a function for that! What else?
>
> _________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
_________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|