note 10076 rejected and deleted from MySQL functions by ronabop

From: Date: Tue, 12 Dec 2000 07:41:03 +0000
Subject: note 10076 rejected and deleted from MySQL functions by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-8635@lists.php.net to get a copy of this message
It would be nice to have a function which would test sql queries, not only for mysql but for all databases (something like 'function test_sql_query ($query, [$server_type])') so one could check query syntaxes (syntax only, so no messing with field names etc) without actually querying the server, or, even without connecting to the database if there is an error. A smart function could be a big help against html form hacks. Anyone knows such a library, or, how about making this a standard function ? Trapeer

« previous php.notes (#8635) next »