note 10076 added to MySQL functions

From: Date: Tue, 12 Dec 2000 03:56:42 +0000
Subject: note 10076 added to MySQL functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-8625@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 http://www.php.net/manual/ref.mysql.php

« previous php.notes (#8625) next »