Paul on Tue, 2 Sep 2003 00:04:11 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Tabs


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?

_________________________________________________________________________
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