PDA

View Full Version : PHP Help



redtom
07-08-2008, 06:33 PM
I've been using PHP for quite a while now but my code seems pretty messy so I woundering if any of guys know any tutorials what would help me clean up my PHP coding.

Moved by Invent (Forum Moderator) from Designing & Development: Please post in the correct forum next time, thanks :).

L?KE
07-08-2008, 07:34 PM
I think these may be what you need ;)

http://www.devshed.com/c/a/PHP/Writing-Clean-and-Efficient-PHP-Code/
http://www.usenet-forums.com/php-language/34218-tool-cleaning-up-php-code-html-tidy-like.html

Only two, but I hope it helped :)

Joe!
09-08-2008, 10:52 PM
Download PHP Designer 2008, then you can just a click a button and it rearranges the code for you? If thats what you meant?

Trigs
10-08-2008, 01:57 AM
Or just download PHP code beautifier which is what phpDesigner uses

redtom
10-08-2008, 07:40 AM
I think these may be what you need ;)

http://www.devshed.com/c/a/PHP/Writing-Clean-and-Efficient-PHP-Code/
http://www.usenet-forums.com/php-language/34218-tool-cleaning-up-php-code-html-tidy-like.html

Only two, but I hope it helped :)

Yeah they helped cheers :)


Download PHP Designer 2008, then you can just a click a button and it rearranges the code for you? If thats what you meant?


Or just download PHP code beautifier which is what phpDesigner uses


I'm not really looking for programs just tutorials to help me.

Luckyrare
10-08-2008, 09:03 PM
Once you have the indenting sorted, if you dont all ready - you should use the OOP coding technique.

Try php.net, php.net/oop

Google it, there will be loads of information ;)

Want to hide these adverts? Register an account for free!