RE: [PHP-ES] Conexion a MS Access 2000
| From: | mundoweb.com.mx | Date: | Sat, 12 Jan 2002 05:12:45 +0000 |
| Subject: | RE: [PHP-ES] Conexion a MS Access 2000 | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-17661@lists.php.net to get a copy of this message | ||
SALUDOS
ALGUNO DE LOS MIEMBROS DE LA LISTA SABE SI EN LINUX SE NECESITA OTRA
COSA APARTE DEL MYODBC, PARA HACER UNA CONEXION A UNA BASE DE DATOS MS
2000, LE AGRADESCO DE ANTE MANO SU RESPUESTA
ATT
MARIO
> Ya me conecte con tu ejemplo
> gracias
>
> ----- Original Message -----
> From: Vinicio Vásquez <vvasquezb@accessinter.net>
> To: <lista@phpes.com>
> Sent: Thursday, January 10, 2002 7:49 PM
> Subject: Re: [PHP-ES] Conexion a MS Access 2000
>
>
> > Hola
> >
> > Debes crear un odbc y de ahi llamarlo en la aplicacion php.
> > el scrip mas o menos asi:
> > <?php
> > $myDB = odbc_connect("pruebas","","");
> > if(!$mydb){
> > Error_handler( "Error al conectar el odbc", $cnx);
> > }
> > $query = "SELECT * FROM tabla";
> > $result = odbc_exec($myDB, $query);
> > if (!$result){
> > Error_handler( "Error en odbc_exec( )", $cnx);
> > }
> >
> > while( odbc_fetch_row( $result ) ) {
> > $nbrow++;
> > $Dni= odbc_result( $result, 1 );
> > $Nombre= odbc_result( $result, 2 );
> > $Apellido1= odbc_result( $result, 3 );
> > }
> > odbc_close($myDB);
> > ?>
> > ----- Original Message -----
> > From: "Tello Sánchez" <tello@ietlax.org.mx>
> > To: <lista@phpes.com>
> > Sent: Thursday, January 10, 2002 8:14 PM
> > Subject: [PHP-ES] Conexion a MS Access 2000
> >
> >
> > > Como se configura la conexion a access desde PHP, Estoy utilizando
> > windows98
> > >
> > > gracias por su apoyo
> > >
> > >
> > > ------------------------------------------------------------------
---
> > > Archivo On-line: http://www.phpes.com/
> > > Manual PHP en español: http://www.php.net/manual/es/
> > > Para dar de baja la suscripción, mande un mensaje a:
> > > lista-unsubscribe@phpes.com
> > >
> >
> >
> > --------------------------------------------------------------------
-
> > Archivo On-line: http://www.phpes.com/
> > Manual PHP en español: http://www.php.net/manual/es/
> > Para dar de baja la suscripción, mande un mensaje a:
> > lista-unsubscribe@phpes.com
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>
Luis Mario Meraz D.