[Phpmyadmin-devel] special characters in db names

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Wed Jun 27 02:09:16 CEST 2001


I am implementing a change in all files where we use $db for a query.

There will be a new function db_name that adds backquotes if MySQL
version supports it.

For example, in db_create.php3:

$result = mysql_query("CREATE DATABASE " . db_name($db)) or mysql_die();


More information about the Developers mailing list