includes/dbal.php
changeset 251 275c70f80137
parent 166 d53cc29308f4
parent 250 acb9d021b860
child 266 917dcc6c4ceb
--- a/includes/dbal.php	Fri Nov 09 18:09:29 2007 -0500
+++ b/includes/dbal.php	Fri Nov 09 23:39:52 2007 -0500
@@ -140,7 +140,7 @@
     $this->query_backtrace = '';
     $this->num_queries = 0;
     dc_here('dbal: we\'re in, selecting database...');
-    $q = $this->sql_query('USE '.$dbname.';');
+    $q = $this->sql_query('USE `'.$dbname.'`;');
     if(!$q) $this->_die('The database could not be selected.');
     dc_here('dbal: connected to MySQL');
     $this->disable_errorhandler();