j.silver Posted November 11, 2015 Share Posted November 11, 2015 Hi, As you know, there is W3C markup validation service. Is there a reliable validation service for PHP, MySQL, JS (other than Chrome's console), and CSS? Link to comment Share on other sites More sharing options...
dauruk0512 Posted November 11, 2015 Share Posted November 11, 2015 what do you mean validations ? validations on what case, i guess you need validations in form submit to database ? before submitinsert to database you should use function if which is check your input already fill in or not ?please explain more so people her ecan debug adn help you Link to comment Share on other sites More sharing options...
j.silver Posted November 11, 2015 Author Share Posted November 11, 2015 Validation of a block of code to see if it is written properly. You copy your block of code and paste it inside the validator, which comes up with a statement that the code is good or lists suggestions of improving the code to be in line with standards. Link to comment Share on other sites More sharing options...
Ingolme Posted November 11, 2015 Share Posted November 11, 2015 HTML validation only ensures that the HTML has proper syntax. If the PHP syntax is incorrect you'll get a syntax error. If Javascript syntax is incorrect you get a Javascript error. If MySQL syntax is incorrect you'll get an SQL error. HTML needs validation because, unlike those other languages, browsers forgive mistakes and try to interpret wrong HTML as best as they can. PHP, Javascript and MySQL won't function properly if the syntax is incorrect. Link to comment Share on other sites More sharing options...
dsonesuk Posted November 11, 2015 Share Posted November 11, 2015 The editor you use if features include php, js, css syntax highlighting will give you basic validation, it should give you hints on using specific javascript, php functions or variables and css selectors already defined and css properties and values. Link to comment Share on other sites More sharing options...
j.silver Posted November 11, 2015 Author Share Posted November 11, 2015 Paid editors are usually equipped with some basic validation capabilities, but I am using Notepad++ in which I am not seeing such capabilities. Is there a setting change in Notepad++ that might make it more capable, or is there a better free editor? Link to comment Share on other sites More sharing options...
dsonesuk Posted November 11, 2015 Share Posted November 11, 2015 I find netbeans good for finding errors and hints/suggestions. Link to comment Share on other sites More sharing options...
thescientist Posted November 11, 2015 Share Posted November 11, 2015 There are also build tools like Grunt and Gulp that have plugins for linting JS / CSS / HTML files. note: these are tools built on top of Node.js Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now