$this->bindValue($bind);
}
// 执行查询
$this->PDOStatement->execute();
// 调试结束
$this->debug(false);
// 返回结果集
return $this->getResult($pdo, $procedure);
} catch (\PDOException $e) {
throw new PDOException($e, $this->config, $this->getLastsql());
}
}
/**
* 执行语句
* @access public
* @param string $sql sql指令
* @param array $bind 参数绑定
* @return int
SQLSTATE | 42000 |
Driver Error Code | 1064 |
Driver Error Message | You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index ) LIMIT 1' at line 1 |
Error Code | 10501 |
Error Message | SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index ) LIMIT 1' at line 1 |
Error SQL | SELECT * FROM `tsd_news` WHERE ( id =index ) LIMIT 1 |
type | mysql |
hostname | bdm721874187.my3w.com |
database | bdm721874187_db |
username | bdm721874187 |
password | Tsd20230628 |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | tsd_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
fields_strict | false |
result_type | 2 |
resultset_type | array |
auto_timestamp | true |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
USER | nobody |
HOME | / |
HTTP_HOST | tsd-semicon.com |
HTTP_REFERER | http://tsd-semicon.com/public/index.php/Home/cpyy/cpyy/id/index.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
SERVER_NAME | tsd-semicon.com |
SERVER_PORT | 443 |
SERVER_ADDR | 10.21.6.12 |
REMOTE_PORT | 59928 |
REMOTE_ADDR | 44.200.49.193 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /data/user/htdocs |
DOCUMENT_URI | /public/index.php/Home/cpyy/cpyy/id/index.html |
REQUEST_URI | /public/index.php/Home/cpyy/cpyy/id/index.html |
SCRIPT_NAME | /public/index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
PATH_INFO | /Home/cpyy/cpyy/id/index.html |
SCRIPT_FILENAME | /data/user/htdocs/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /public/index.php/Home/cpyy/cpyy/id/index.html |
REQUEST_TIME_FLOAT | 1711706852.3745 |
REQUEST_TIME | 1711706852 |
__ROOT__ | /public |
APP_PATH | /data/user/htdocs/public/../application/ |
THINK_VERSION | 5.0.5 |
THINK_START_TIME | 1711706852.3746 |
THINK_START_MEM | 364328 |
EXT | .php |
DS | / |
THINK_PATH | /data/user/htdocs/thinkphp/ |
LIB_PATH | /data/user/htdocs/thinkphp/library/ |
CORE_PATH | /data/user/htdocs/thinkphp/library/think/ |
TRAIT_PATH | /data/user/htdocs/thinkphp/library/traits/ |
ROOT_PATH | /data/user/htdocs/ |
EXTEND_PATH | /data/user/htdocs/extend/ |
VENDOR_PATH | /data/user/htdocs/vendor/ |
RUNTIME_PATH | /data/user/htdocs/runtime/ |
LOG_PATH | /data/user/htdocs/runtime/log/ |
CACHE_PATH | /data/user/htdocs/runtime/cache/ |
TEMP_PATH | /data/user/htdocs/runtime/temp/ |
CONF_PATH | /data/user/htdocs/public/../application/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |
IS_CLI | false |
IS_WIN | false |
JINGLING_VERSION | 1.0 |
JINGLING_ADDON_PATH | /data/user/htdocs//addons/ |