Re: MS ACCESS & PHP
| From: | Vojtech Dvorak | Date: | Tue, 26 Sep 2000 12:18:16 +0000 |
| Subject: | Re: MS ACCESS & PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3096@lists.php.net to get a copy of this message | ||
Yes, use odbc such like
$cnx = odbc_connect( 'DBname' , 'user', 'password' );
if( ! $cnx )
{
Error_handler( "Error in odbc_connect" , $cnx );
}
and than for example:
$cur= odbc_exec( $cnx, $select);
if( ! $cur )
{
Error_handler( "Error in odbc_exec( no cursor returned ) " , $cnx );
}
For further info on ODBC check http://www.php.net/manual/ref.odbc.php
regards
Vojtech
> Does anyone know how (if at all possible) to connect a database done with
Microsoft Access 2000 to PHP? I've done the whole thing with connecting to
MySQL, but I was wondering if I could do the same with Access.
>
> Would it use like a basic ODBC connection?
>
> thanks a bunch,
>
> [ troy campano ]
> [ troy@briscodesign.com ]
>
>
>
>
>
>
> [:==>Troy Campano<==:]
> [:==>Web Site Designer/Programmer<==:]
>
> ******End Of Email*****************
> We have now combined our company with
> The D.E.V. (development of electronic
> virtuosity) and will be offering web
> based solutions to help our customers
> manage their sites through a browser.
> Some solutions are E-Commerce Product
> Management, Database Managemant, and Web
> Based Email. Once completed, The D.E.V.
> will be hosted on our server at
> http://dev.briscodesign.com
>
> [ The BriscoDesign Team ]
> www.briscodesign.com
> ________________________________________________________________________
>
> Get your own free, private space on the Web at
> http://www.intranets.com.
>
> --
> 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
>
>