views:

46

answers:

2

i need a program that make my php and html codes tidy.i mean remove unnecessary spaces,tabs,newlines and ... . thanks for helping.

+1  A: 

You might consider SD PHP Formattter

Ira Baxter
+1  A: 

Any IDE will do this for you automatically. I use NetBeans and Notepad++.

If you are looking for something to do batch formatting, then try this post http://www.nirving.com/2007/06/01/batch-code-formatting-using-eclipse-code-formatter-but-without-eclipse/.

If you are trying to minify your code, then try something like minify.

LaikaN57
Would someone know what 'minify' means, without knowing that minify does it?
Pete Kirkham
your are right Laika,but some codes are written in different IDE and so have mixed face.
hd
Pete? Haha. I don't know what you are asking but I will try to answer the following question: "Do people know what the term 'minify' means?" I would say that most web designers do. When you are concerned with bandwidth limitations it is a good practice. jQuery and PHP.js both offer "minified" packages for production use. Hope that answers whatever you were trying to ask. Let me know if it doesn't (and re-word your question. lol)
LaikaN57