Acs Posted March 7, 2008 Share Posted March 7, 2008 Hello! I have this script that generates php code and html code. But some of the code is not properly formated. Does anyone know of a script that does this? Formats php code and html code. I searched google and I see a lot of websites like http://www.prettyprinter.de/ that format the code you submit but all I want is just a script that will take a file and format the code Thanks Quote Link to comment https://forums.phpfreaks.com/topic/94951-code-format/ Share on other sites More sharing options...
Daniel0 Posted March 8, 2008 Share Posted March 8, 2008 You can use tidy for HTML. I'm not sure about PHP though. Quote Link to comment https://forums.phpfreaks.com/topic/94951-code-format/#findComment-487136 Share on other sites More sharing options...
Acs Posted March 8, 2008 Author Share Posted March 8, 2008 I really need something for both Quote Link to comment https://forums.phpfreaks.com/topic/94951-code-format/#findComment-487143 Share on other sites More sharing options...
Barand Posted March 8, 2008 Share Posted March 8, 2008 http://www.google.co.uk/search?q=php+beautifier Quote Link to comment https://forums.phpfreaks.com/topic/94951-code-format/#findComment-487186 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.