Return to Snippet

Revision: 5951
at April 15, 2008 18:21 by estebant


Updated Code
function connectBBDD($server, $login, $passw, $bbdd)
{
  $conn = &ADONewConnection('mysql');
  $conn->PConnect($server, $login, $passw, $bbdd);
  $conn->debug = false;
  $conn->query("SET CHARACTER SET 'utf8'");
  return $conn;
}

Revision: 5950
at April 15, 2008 18:17 by estebant


Initial Code

                                

Initial URL

                                

Initial Description

                                

Initial Title
ConnectBBDD ADODB

Initial Tags
mysql

Initial Language
PHP