Longhorn PHP 2025 - Speakers and Schedule Announced!

Voting

: min(seven, six)?
(Example: nine)

The Note You're Voting On

cjbauer2 at hotmail dot com
10 years ago
/* Connecting to Microsoft Access with PHP
$conn = odbc_connect("Driver={Microsoft Access Driver (*.mdb)};
Dbq=$mdb_Filename", $user, $password);

This does NOT work on Windows servers.
Instead, it needs
$conn->Open("Provider=Microsoft,.Jet.OLEDB.4.0; Data Source=......

Point the variable $mdb_Filename to...
Data Source=C:\inetpub\wwwroot\php\mdb_Filename
or wherever the virtual directory points.

<< Back to user notes page

To Top