title: PHP class not working " OOP "
body: <p>here's my include.php: </p>
  
  <pre><code>&lt;?php
  class cars {
      protected $_car;
  
      public function __costruct($carName) {
          $this-&gt;_car = $carName;
  
      }
  
      public function getcarname (){
          return $this-&gt;_car;
      }
  }?&gt;
  </code></pre>
  
  <p>and here's my index.php</p>
  
  <pre><code>&lt;?php
  require_once 'include.php';
  
  $selling = new cars('Ford');
  echo $selling-&gt;getcarname();
  ?&gt;
  </code></pre>
  
  <p>Still echo's nothing! you can say I'm new to classes but I know php, it's kinda' complicated to deal with it, and I find it makes no since and waste of code, anyway still I want to learn it, so whats wrong with my code? </p>