i'm sorry if this is a noob question, but i can't figure it out.
I have a .php file containing a class:
<?php
   class Visitors
   {
      public function greetVisitor()
      {
         echo "Hello<br />";
      }
      function sayGoodbye()
      {
         echo "Goodbye<br />";
      }
   }
?>
In another php file containing mostly HTML, i try to create an instance of this class and call the function greetVisitor :
            <div class="map col-md-4">
                <?php
                    $test = new Visitors();
                    $test->sayGoodbye();
                ?>
            </div>
For some reason this isn't displaying when i look in my browser. Any ideas ? tried doing a var_dump, but nothing is showing thanks
 
    