Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/03/2004, 16:04
Avatar de jorel
jorel
 
Fecha de Ingreso: abril-2003
Ubicación: Monterrey, N.L.
Mensajes: 253
Antigüedad: 22 años, 1 mes
Puntos: 0
Esta es la forma de conectar tu asp con mysql

Código PHP:
strsql "SELECT * FROM tabla"
Set oConn Server.CreateObject("ADODB.Connection")
oConn.Open " Driver={MySQL};SERVER=localhost;DATABASE=nomdetubd;UID=user;PASSWORD=tuclave" 
Set RS Server.CreateObject("ADODB.Recordset")
RS.Open strSQLoConn,3,
__________________

:adios:

Jorge Santana

Última edición por jorel; 27/03/2004 a las 12:28