Ver Mensaje Individual
  #17 (permalink)  
Antiguo 08/03/2010, 11:33
Avatar de HiToGoRoShi
HiToGoRoShi
 
Fecha de Ingreso: abril-2008
Mensajes: 849
Antigüedad: 16 años
Puntos: 31
Respuesta: Hacer conexiones a dos DB ?

Código PHP:
Ver original
  1. <?php
  2. //Phpbb
  3. $link=mysql_connect("localhost","root","");
  4. $cnPortal=mysql_connect("localhost","root","");
  5. mysql_select_db("peruguitar",$link);
  6. mysql_select_db("portal",$cnPortal);
  7. ?>