ODBC is an application interface that allows various databases to have the same interface.
First to php fans station http://www.phpfans.net/download.php? Cid = 1 & page = 3 download mysql odbc driver. The latest version is v5.
Because version 5 is prone to garbled characters, version 3.51 is strongly required.
/*
Author: I am not a fish
Web: http://www.phpfans.net
Blog: http://www.phpfans.net/space/index.php/2
Email: deng5765@163.com
Qq: 245821218
*/
Install the mysql odbc driver...
1. Use phpmyadmin to create a test database. Currently, no data tables are used in the database.
Screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. style. cursor = 'hand'; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "onclick =" if (! This. resized) {return true;} else {window. open ('/upload/20070902215002155.jpg');} 'src = "http://www.bkjia.com/uploads/allimg/131016/0623215159-0.jpg" onload = "if (this. width> screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "border = 0>
2. Open [control panel] [Administrative Tools] and double-click [database (ODBC)]
Select the [System Data Source] tag and click [add].
Screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. style. cursor = 'hand'; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "onclick =" if (! This. resized) {return true;} else {window. open ('/upload/20070902215003874.jpg');} "src =" http://www.bkjia.com/uploads/allimg/131016/06232140b-1.jpg "onload =" if (this. width> screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "border = 0>
More articles php enthusiast station http://www.phpfans.net
3. Open an access database
(1) Select a table and export it...
Screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. style. cursor = 'hand'; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "onclick =" if (! This. resized) {return true;} else {window. open ('/upload/20070902215003280.jpg');} 'src = "http://www.bkjia.com/uploads/allimg/131016/062321O59-2.jpg" onload = "if (this. width> screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "border = 0>
(2) select [odbc database]
Screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. style. cursor = 'hand'; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "onclick =" if (! This. resized) {return true;} else {window. open ('/upload/20070902215003353.jpg');} 'src = "http://www.bkjia.com/uploads/allimg/131016/0623216209-3.jpg" onload = "if (this. width> screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "border = 0>
4. Select the [machine data source] tag, select the previously set dwmxphp, and then [OK]
Screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. style. cursor = 'hand'; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "onclick =" if (! This. resized) {return true;} else {window. open ('/upload/20070902215003157.jpg');} 'src = "http://www.bkjia.com/uploads/allimg/131016/062321C21-4.jpg" onload = "if (this. width> screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "border = 0>
5. After the execution is complete, open phpmyadmin .. That's the data we just imported.
Screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. style. cursor = 'hand'; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "onclick =" if (! This. resized) {return true;} else {window. open ('/upload/20070902215004456.jpg');} "src =" http://www.bkjia.com/uploads/allimg/131016/0623216291-5.jpg "onload =" if (this. width> screen. width * 0.7) {this. resized = true; this. width = screen. width * 0.7; this. alt = 'click here to open new window \ nCTRL + Mouse wheel to zoom in/out';} "border = 0>