Hi Does anyone know of a code tidy for PHP files? Like http://validator.w3.org/ but for PHP. I want something that will not only find the errors but will clean up the code like the above does for HTML. Thanks in advance Dee
I am not sure if you have something like that, that would help. When you create a code in php and have errors you will get the error display it is useful when you learn how to use it right. You are welcome to try the site below maybe that would help you: http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php The page will not fix the problem, it will just show you where the mistake is. There is no page that could fix the problems for you.
Thank you, I will check out the link, the problem I have is knowing which PHP file the errors relate to, for example I found something a few days ago to check the code of and it found loads of errors, and whilst it tells me the line it doesn't tell me the name of the PHP file that line is in and the site is made up of a TON of PHP files, so manually searching through every single one would take me forever
Could you upload a picture of the error page? maybe if could help i would understand what the problem is