I want to set up an Access database for a club I belong to. I would like to be able to get information from these tables to display on the club's web site. I have opened the Data Sources Shortcut tool in the Control Panel's Administrative Tools section, clicked on the System DSN tab, and added the Microsoft Access Driver. As things stand now, I can run PHP code in the folder c:\Inetpub\ or any subfolders I create in
I have created a subfolder for my club that holds the Access database. So far there is only one table (with a different name from that of the database) into which I have entered several records. I have also created a PHP test page intended to extract data from this table, but so far I have not succeeded in making it work correctly. Instead I get messages like:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length, SQL state S1090 in SQLConnect in c:\Inetpub\ on line 5
Connection Failed:
Apparently I do not have my syntax set up correctly. Any pointers or examples would be appreciated. (I would like to use Access because it is a tool that end users are comfortable with. That way updates could be made to the web site's content without me having to oversee things as closely.)
Have a good one.
I have created a subfolder for my club that holds the Access database. So far there is only one table (with a different name from that of the database) into which I have entered several records. I have also created a PHP test page intended to extract data from this table, but so far I have not succeeded in making it work correctly. Instead I get messages like:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length, SQL state S1090 in SQLConnect in c:\Inetpub\ on line 5
Connection Failed:
Apparently I do not have my syntax set up correctly. Any pointers or examples would be appreciated. (I would like to use Access because it is a tool that end users are comfortable with. That way updates could be made to the web site's content without me having to oversee things as closely.)
Have a good one.