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:
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
2010-05-18 06:24:39
Would someone know what 'minify' means, without knowing that minify does it?
Pete Kirkham
2010-05-18 08:25:51
your are right Laika,but some codes are written in different IDE and so have mixed face.
hd
2010-05-18 08:54:15
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
2010-05-31 15:17:44