Guest kilbad Posted August 11, 2006 Share Posted August 11, 2006 I am working on making a php/mysql address book, and I have a question. I am one of those people that likes my code to be well organized.. for example, with the use of equal indenting with each layer of nested tags in html[code]<div> <div> Example </div></div>[/code]So, with my address book, I have accomplished rendering well organized html code by using "\n" for line breaks in my echos, as well as adding extra spaces for the indents. However, this is my question, having to add all those extra spaces in my echos for the indents is cumbersome and distracting when I am trying to read through the script.. Is there any command that will render a Tab or several spaces that I can repeat a few times to accomplish the same thing?thanks in advance!Brendan Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted August 11, 2006 Share Posted August 11, 2006 "\t" = tab Quote Link to comment Share on other sites More sharing options...
Guest kilbad Posted August 11, 2006 Share Posted August 11, 2006 thanks a ton! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.