Hello guys, I have a school assignment and I need to develop a site with Microsoft Access database, but I have no clue how to set up and use that database, I searched eveywhere on the internet and I haven't found anything concludent, all explications are foggy and I can't understand them. Can you please explain what $db = new PDO("odbc:DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=$dbName; Uid=; Pwd=;");
means?.
Exactly what does "dbc:DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=$dbName; Uid=; Pwd=;"
mean and how do I find it in my computer, or do I have to install a driver ? Please help me, I really need your help.
Gabryel
0
Newbie Poster
Recommended Answers
Jump to Post"Driver" points to the installed windows driver needed to access the MSAccess database. Most likely this is already installed if you are running on a Windows machine.
$dbName
is a variable that should contain the name of the database you are trying to open.
All 4 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Gabryel
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Webville312
14
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.