On Sat, 30 Aug 2008 20:17:18 -0400, Shiplu wrote: >I wanna know how to write good code in php. >Not oop stuff. I wanna know how to write a good php code file. >documentation, comments. indentation etc. >what are the good practices?? Find out what "bad" is by reading this: http://thedailywtf.com/Series/CodeSOD.aspx Then, don't do it like that! But seriously, you might want to check out this page on Wikipedia, and follow some of its references: http://en.wikipedia.org/wiki/Programming_style -- Ross McKay, Toronto, NSW Australia "Let the laddie play wi the knife - he'll learn" - The Wee Book of Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php