i would like some help with making my search box work on my forum, at the moment when u type anything in it just refreshes the page and the same page is shown. I want it to show the thread if some types in say 'hello' it should show threads that start with hello below is my code if anyone1 can help me adjust the code that couwld be great!!. thanks
<?
// Command_BlogIndex.php
//############################################################################
// SearchVenueCommand class
//############################################################################
require_once("ManagerMessage.php");
class Command_BlogIndex extends Command
{
//############################################################################
// doExecute
//############################################################################
function doExecute(Request $request)
{
// Create manager object
$manager = new ManagerMessage();
// Get data from database object
$data = $manager->getAllMessages();
// Include view
include("views/index.php");
}
}
?>