title: Warning: include(): Failed opening 'parth' for inclusion (include_path='.:/opt/php70/lib/php') in /bluehost parth/index.php on line 3
body: <p>I upload my site and database in to cPanel bluehost When me connection database by code below it show error:</p>
  
  <p>Warning: include(): Failed opening 'parth' for inclusion (include_path='.:/opt/php70/lib/php') in /bluehost parth/index.php on
  line 3</p>
  
  <p>so all developer help fix me for this error...</p>
  
  <p>DB config</p>
  
  <pre><code>&lt;?php
  
      /*
      * All database connection variables
      */
  
          $host="localhost";
          $username="root";
          $password="";
          $dbname="db_name";
  
          $connection=mysql_pconnect($host,$username,$password) or die("connection to the server fail".mysql_error());
          mysql_select_db($dbname, $connection) or die("could not open db:$dbname");
  
          function db_connect()
          {
              if(!$connection)
              {
                  return false;
              }
              if(!mysql_select_db($dbname, $connection))
              {
                  return false;
              }
  
              return  $connection;
          }
  
          function login($user,$pass)
          {
              db_connect();           
  
              $result = mysql_query("SELECT * FROM user WHERE username = '".$user."' AND password = '".$pass."'");
  
              $num_rows = mysql_num_rows($result);
  
              if($num_rows &lt; 1)   return false;
  
              mysql_free_result($result);
              return true;
          }
              mysql_query("SET CHARACTER SET 'utf8'");
              mysql_query("SET SESSION collation_connection ='utf8_general_ci'"); 
          ?&gt;
  
  include connection db 
  
          &lt;?php
  </code></pre>
  
  <p>Include connection DB</p>
  
  <pre><code>&lt;?php
  
      /*
      * I upload my site and database in to cPanel bluehost When me connection database by code below it show error:
      */
              //error_reporting(E_ERROR|E_PARSE);
              include 'atsschool/db_function.php';
              if(empty($_GET['p']))
              {
              $_GET['p']='home';
              }
              if(empty($_GET['page']))
              {
                  $_GET['page']='1';
              }
              if(empty($_GET['l']))
              {
                  $_GET['l']='english';
              }
  
          ?&gt;
  </code></pre>