Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/04/2008, 12:05
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Ayuda con conexion a una bd sql server 2000 con odbc

Hola itinajero,

Si tienes las librerías ODBC puedes hacer algo así:
Código PHP:
$conn odbc_connect"DSN=CiscoCallManager;SERVER=X;DATABASE=CDR;Trusted _Connection=yes""user""pass" );

$query "SELECT * FROM tabla";
$result odbc_exec$conn$query );
while( 
$row odbc_fectch_array$result ) ) {
       
var_dump$row );

Saludos.