Hi Shiplu, For all that you mentioned, and if you want to get a quite good suggestion, I will highly recommend that you read through McConnell's Code Complete (2nd Edition). Specifically: Chapter 31: Layout and Style Chapter 32: Self-Documenting Code (Commenting Techniques) It won't disappoint you. 2008/8/31 Shiplu <shiplu.net@xxxxxxxxx> > 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?? > > > -- > Blog: http://talk.cmyweb.net/ > Follow me: http://twitter.com/shiplu > -- With best regards, Shelley Shyan http://phparch.cn