Young and ignorant, I was, about a year or so ago. I agreed to help someone build a simple website for a small real estate company (mostly for the chance to rent some space on a server so I could start experimenting).
I had a decent beginners course in MS Access behind me and owned a nice new copy of Office XP Pro and Microsoft promised great ease in making all this stuff work on the web.
So when I rented the server space and laid claim to a URL for the company, I figured the way to go was a Windows NT server configured to cater to MS Access.
The liars....
Writing ASP code with Front Page to talk to Access on a Windows server has been like...I dunno. Just crappy. It's been so much easier to learn php/MySQL on an Apache server. I can do a lot of cool stuff with a minimum of code. The code that all the menus and choices and wizards and stuff that Front Page/ASP requires is such a spaghetti for a beginner like me. What the heck is all that gunk in there? Sheesh!
Still, I have made a halfway decent site with ASP/Access and mess with it very gingerly only when I am in my most alert frame of mind.
But I'm getting very curious about trying to use php with Access...just to get away from the dismal Front Page "Database Interface Wizard"....that usually crashes my system after waiting 15-20 minutes for it to complete.
I have not done much but the following code HAS succeded in getting output from one of my online Access tables.
Here it is if it is any help to other beginners:
<html>
<head><title>Access Test 2</title>
<style type="text/css">
</style>
</head>
<body>
<?php
$odbc_dsn = "Listings";
$odbc_userid = "";
$odbc_password = "";
$query = "SELECT MLSID, Address FROM CURRENT";
$odbc_db = odbc_connect($odbc_dsn, $odbc_userid, $odbc_password);
$odbc_rs = odbc_exec($odbc_db, $query);
$fields = odbc_num_fields($odbc_rs);
odbc_result_all($odbc_rs);
odbc_close ($odbc_db);
?>
</table>
</body>
</html>