[PHP] Re: TAB Syntax

2004-06-30 Thread Harlequin
Cheers Lars. So, for example, if I wanted to display some plain text tabbed I'd use: echo prestring1\tstring2\tstring3/pre; There's just one problem though - it formats the text differently to the rest of the page (I'm using CSS to control this). Any thoughts...? --

[PHP] Re: TAB Syntax

2004-06-30 Thread Lars Torben Wilson
Harlequin wrote: Cheers Lars. So, for example, if I wanted to display some plain text tabbed I'd use: echo prestring1\tstring2\tstring3/pre; There's just one problem though - it formats the text differently to the rest of the page (I'm using CSS to control this). Any thoughts...? Try adding

[PHP] Re: TAB Syntax

2004-06-30 Thread Harlequin
Lars I got it working a treat. Thanks very much. This is what I ended up with: echo preThis\tis\ta\ttest./pre; and I simply added a PRE tag to the CSS file which has the same attributes as the body tag. Thanks very much for your patience Lars. -- -

[PHP] Re: TAB Syntax

2004-06-29 Thread Lars Torben Wilson
Harlequin wrote: I know I'm probably going to get flamed for this but it is only a development site but I am having some trouble getting the syntax right for using the tab when echoing information. My current command is: print_r(Host: $hostbrUser: $userbrPassword: $password); I've tried: