Posted By

estebant on 04/15/08


Tagged

mysql adodb


Versions (?)

ConnectBBDD ADODB


 / Published in: PHP
 

  1. function connectBBDD($server, $login, $passw, $bbdd)
  2. {
  3. $conn = &ADONewConnection('mysql');
  4. $conn->PConnect($server, $login, $passw, $bbdd);
  5. $conn->debug = false;
  6. $conn->query("SET CHARACTER SET 'utf8'");
  7. return $conn;
  8. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: estebant on May 9, 2008

Función de conexión a BBDD con PHP

You need to login to post a comment.