Jump to content

Function to Check Sytax of MySQL query?


random1

Recommended Posts

Hey All,

 

I'd like to check the syntax of each MySQL query I have in my PHP site.

 

For example: checkMySQLSyntax($sql);

 

with a return of true or false or "Error Message String".

 

I've found some sites:

 

http://developer.mimer.se/validator/parser200x/index.tml

http://www.w3.org/2005/01/yacker/uploads/MySQL?lang=perl

Link to comment
https://forums.phpfreaks.com/topic/194979-function-to-check-sytax-of-mysql-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.