Home > php教程 > php手册 > php连接access数据库实现代码

php连接access数据库实现代码

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-26 15:22:18
Original
1605 people have browsed it

本文章就分享一个简单的代码告诉你如何利用php来连接access数据库的方法,有需要的同学可以参考一下,代码如下:

<?php 
	$conn = new com("adodb.connection");   
	$connstr="driver={microsoft access driver (*.mdb)}; dbq=". realpath("data/db_database12_185.mdb"); 
	//开源代码phprm.com 
	$conn->open($connstr); 
	
Copy after login

永久链接:

转载随意!带上文章地址吧。

Related labels:
Statement of this Website
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
Latest Issues
nginx access individual PHP page 404
From 1970-01-01 08:00:00
0
0
0
php - Bank QR code payment access problem
From 1970-01-01 08:00:00
0
0
0
Extract and access JSON data using PHP
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template