摘要:
介绍下使用PHP执行.SQL文件的代码一例,分享下。demo.php:dbHost=$host;$this->dbUser=$user;$this->dbPassword=$password;$this->dbSchema=$schema;}functioncreateFromFile($sqlPath,$delimiter='(;/n)|((;/r/n))|(;/r)',$prefix='',$commenter=array('#','--')){//判断文件是否存在if(!file_exists($sqlPa 阅读全文
posted @ 2013-07-06 10:27
snowfly123
阅读(447)
评论(0)
推荐(0)
浙公网安备 33010602011771号