$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 ') 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 ') LIMIT 1' at line 1 |
Error SQL | SELECT COUNT(*) AS tp_count FROM `pub_zl_productimg` `zp` INNER JOIN `pub_zl_companyinfo` `zc` ON `zp`.`user_id`=`zc`.`user_id` WHERE ( zp.status=1 AND zc.status=1 AND zp.user_id= ) LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | zhanlang_en |
username | root |
password | XIAOwu@8899 |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | pub_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
fields_strict | true |
result_type | 2 |
resultset_type | array |
auto_timestamp | false |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /home/wwwroot/enzlmng.jiekui.net/index.php |
QUERY_STRING | s=//home/audience/detail/id/www.china3dplus.com |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /home/audience/detail/id/www.china3dplus.com |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /home/wwwroot/enzlmng.jiekui.net |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.16.1 |
REMOTE_ADDR | 44.195.30.216 |
REMOTE_PORT | 38946 |
SERVER_ADDR | 172.21.98.121 |
SERVER_PORT | 80 |
SERVER_NAME | en.cantonrehacare.com |
REDIRECT_STATUS | 200 |
PHP_ADMIN_VALUE | open_basedir=/home/wwwroot/enzlmng.jiekui.net/:/tmp/:/proc/:/home/wwwroot/ |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | en.cantonrehacare.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711700929.7848 |
REQUEST_TIME | 1711700929 |
PATH_INFO | //home/audience/detail/id/www.china3dplus.com |
APP_PATH | /home/wwwroot/enzlmng.jiekui.net/application/ |
THINK_VERSION | 5.0.5 |
THINK_START_TIME | 1711700929.7854 |
THINK_START_MEM | 259600 |
EXT | .php |
DS | / |
THINK_PATH | /home/wwwroot/enzlmng.jiekui.net/thinkphp/ |
LIB_PATH | /home/wwwroot/enzlmng.jiekui.net/thinkphp/library/ |
CORE_PATH | /home/wwwroot/enzlmng.jiekui.net/thinkphp/library/think/ |
TRAIT_PATH | /home/wwwroot/enzlmng.jiekui.net/thinkphp/library/traits/ |
ROOT_PATH | /home/wwwroot/enzlmng.jiekui.net/ |
EXTEND_PATH | /home/wwwroot/enzlmng.jiekui.net/extend/ |
VENDOR_PATH | /home/wwwroot/enzlmng.jiekui.net/vendor/ |
RUNTIME_PATH | /home/wwwroot/enzlmng.jiekui.net/runtime/ |
LOG_PATH | /home/wwwroot/enzlmng.jiekui.net/runtime/log/ |
CACHE_PATH | /home/wwwroot/enzlmng.jiekui.net/runtime/cache/ |
TEMP_PATH | /home/wwwroot/enzlmng.jiekui.net/runtime/temp/ |
CONF_PATH | /home/wwwroot/enzlmng.jiekui.net/application/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |
IS_CLI | false |
IS_WIN | false |