Home  >  Article  >  Backend Development  >  php如何连接orcle,有没有相关资料可提供

php如何连接orcle,有没有相关资料可提供

WBOY
WBOYOriginal
2016-06-13 13:20:10925browse

php怎么连接orcle,有没有相关资料可提供
本人试过连接mysql与sqlserver

就是没有试验过orcle,有没有相关案例或者资料可以提供

------解决方案--------------------
有案例。请参考php手册。
几个常用的:
oci_connect
oci_parse
oci_execute
oci_fetch_array
oci_num_fields
oci_num_rows

------解决方案--------------------
可以用PDO对象连接,PDO对所有数据库都是通用的,例子php手册上有
------解决方案--------------------
官方文档最好 

http://cn.php.net/manual/en/book.oci8.php

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