Re: [PHP-DB] odbc and primary key

2002-07-23 Thread salamander
Jaz, http://www.php.net/manual/en/function.odbc-primarykeys.php Best regards, Andrew Hill On Wednesday, July 17, 2002, at 08:16 AM, j.a.z. wrote: > How can i get the information if a field on a database (in my case > Access2000) is primary key via a php-odbc-function? > or does i have to use s

Re: [PHP-DB] odbc connect problem

2002-08-09 Thread salamander
Chip, You are going to have to rebuild the dso with the options you specified before - try cutting and pasting the configure that shows up in your phpinfo() to make it easier. Also, you can get the necessary iODBC header files at www.iodbc.org, as well as find a HOWTO there for compiling PHP/

Re: [PHP-DB] odbc connect problem

2002-08-09 Thread salamander
> state IM003 in SQLConnect in /usr/local/apache/htdocs/odbctest.php on > line > 7 > > Fatal error: Call to undefined function: error_handler() in > /usr/local/apache/htdocs/odbctest.php > on line 10 > > I'm outa here, catch up with ya on monday, > > -- > Ch

Re: [PHP-DB] Need Advice on Installing PHP & MySQL on Mac OSX

2002-08-10 Thread salamander
Mario, Mac OS X is already running PHP and Apache - drop a file called foo.php with these contents: in your /Library/Webserver/Documents directory, and then hit http://localhost/info.php For MySQL - checkout the pre-compiled packages at http://www.entropy.ch - Mark has great instructions.

Re: [PHP-DB] Need Advice on Installing PHP & MySQL on Mac OSX

2002-08-10 Thread salamander
Whups, suppose I should have told you to hit http://localhost/foo.php for consistency's sake :) On Saturday, August 10, 2002, at 09:18 PM, salamander wrote: > Mario, > > Mac OS X is already running PHP and Apache - drop a file called foo.php > with these contents: in

Re: [PHP-DB] odbc connect problem

2002-08-13 Thread salamander
Hi Chip, Looks okay at first brush - I suspect your odbc.ini DSN config. Have you been able to test your DSN outside the PHP environment? e.g with the odbctest app that comes with iODBC? Can you post your odbc.ini / DSN info? > Warning: SQL error: [iODBC][Driver Manager]Specified driver could

Re: [PHP-DB] M$ Access

2002-08-15 Thread salamander
Matt, On Windows, you would use the MS Driver for Access - simply create a System DSN. Best regards, Andrew Hill OpenLink Software On Wednesday, August 14, 2002, at 10:40 PM, Matt Babineau wrote: > Is there a way to connect to M$ Access with PHP without using something > like MyODBC? WIN2K, I