Home  >  Article  >  Backend Development  >  php调用存储过程两次就出错

php调用存储过程两次就出错

WBOY
WBOYOriginal
2016-06-23 14:12:311054browse

php调用存储过程两次就出错
第一次是正常的,第二次就会出现
A Database Error Occurred
Unable to select the specified database: myproject

Filename: D:\wamps\www\News\system\database\DB_driver.php

Line Number: 140


回复讨论(解决方案)

不知道你是如何调用的,但原则是
第二次调用时应读空或释放第一次调用的资源

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn