Lines Matching refs:db
100 $db = $this->_connect($c);
101 if ($db === FALSE)
109 $db_list = mysql_list_dbs($db);
115 $result = mysql_query($query, $db);
118 $errors[] = _pfc("Mysql container: create database error '%s'",mysql_error($db));
121 mysql_select_db($c->container_cfg_mysql_database, $db);
134 $result = mysql_query($query, $db);
137 $errors[] = _pfc("Mysql container: create table error '%s'",mysql_error($db));
161 $db = $this->_connect();
169 $res = mysql_query($sql_count, $db);
173 mysql_query($sql_insert, $db);
180 mysql_query($sql_update, $db);
196 $db = $this->_connect();
226 $thisresult = mysql_query($sql_select, $db);
256 $db = $this->_connect();
261 $res = mysql_query($sql_count, $db);
267 mysql_query($sql_insert, $db);
272 mysql_query($sql_update, $db);
273 $res = mysql_query('SELECT LAST_INSERT_ID();', $db);
290 $db = $this->_connect();
303 mysql_query($sql_delete, $db);