Re: PHP, ADO/ODBC and MS Access 97 Queries
| From: | Denis Eltsov | Date: | Wed, 21 Mar 2001 10:56:08 +0000 |
| Subject: | Re: PHP, ADO/ODBC and MS Access 97 Queries | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7675@lists.php.net to get a copy of this message | ||
1. In ODBC Data Source Administrator create System DSN to your DB
2. In PHP use
$x=odbc_connect("your system DSN","","");
$r=odbc_exec($x,"select * from some_table");
echo(odbc_result($r,1));
http://www.zend.com/manual
Best regards Denis Eltsov
""Christie, Darren"" <Darren.Christie@anitetelecoms.com> wrote in message
news:D2AB23F62306D311B99500A0C9AC1AA401782622@ANITE127...
> Can anyone give me any pointers on how I can execute queries in MS
Access97
> from PHP and get the results back using either ADO or ODBC?
>
> Thanks in advance
>
> Darren
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>