<?php include ("./engines_class.php"); // to include the class file $obj = new Meta_Search; // instance new object if(!isset($go)) $obj ->make_form (); // print the menu else $obj ->go_to_engine ($engines,$query); // open the specific search page ?>