title: how to use MDB2
body: <p>I am trying to use <code>MDB2.php</code>. I have downloaded XAMPP with the PHP 5.4 version. I understand that, in order to use MDB2, I need to <code>include</code> it in my PHP file. This is how I am doing it:</p>
  
  <p>My <code>createTable.php</code> file its in <code>C:\Users\Lexy Feito\Desktop\xampp\htdocs\php\COPassig3</code>.</p>
  
  <p>So I use the code:</p>
  
  <pre><code>require "../../../php/pear/MDB2.php";
  </code></pre>
  
  <p>to include the MDB2.php file located in <code>C:\Users\Lexy Feito\Desktop\xampp\php\pear</code> however this is returning the following errors:</p>
  
  <blockquote>
    <p>Deprecated: Assigning the return value of new by reference is
    deprecated in                 C:\Users\Lexy
    Feito\Desktop\xampp\php\pear\MDB2.php on line 390</p>
    
    <p>Deprecated: Assigning the return value of new by reference is
    deprecated in                                    C:\Users\Lexy
    Feito\Desktop\xampp\php\pear\MDB2.php on line 1885   Deprecated:
    Assigning the return value of new by reference is deprecated in
    C:\Users\Lexy Feito\Desktop\xampp\php\pear\MDB2.php on line 2572</p>
    
    <p>Deprecated: Assigning the return value of new by reference is
    deprecated in C:\Users\Lexy Feito\Desktop\xampp\php\pear\MDB2.php on
    line 2595</p>
    
    <p>Deprecated: Assigning the return value of new by reference is
    deprecated in C:\Users\Lexy Feito\Desktop\xampp\php\pear\MDB2.php on
    line 2940</p>
    
    <p>Strict Standards: Declaration of MDB2_Driver_Common::raiseError()
    should be compatible with &amp; PEAR::raiseError($message = NULL, $code =
    NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class =
    NULL, $skipmsg = false) in C:\Users\Lexy
    Feito\Desktop\xampp\php\pear\MDB2.php on line 990</p>
  </blockquote>
  
  <p>Could somebody tell me what is the correct way of using <code>MDB2.php</code> to connect to MySQL and why I'm getting this errors?</p>