Hey Guys,
First THANKS SOO MUCH for the reply. Greatly appreciating the help. Here is what i got on the search code. basically the site works from the index.php page. so everything goes through index.php and then it would "include" other php files to work together. if you look at the code below you might understand it. so the code below is whats found on the index.php and you can see that it includes search_class.php
include_once("classes/search_class.php");
$search_the_classifieds = new Search_classifieds($db,$language_id,$user_id,$_REQUEST["c"],$filter_id,$state_filter,$zip_filter,$zip_distance_filter);
if ($search_the_classifieds->configuration_data->IP_BAN_CHECK) $search_the_classifieds->check_ip($db);
if($_REQUEST["b"] && $_REQUEST["order"])
{
if(!$search_the_classifieds->Search($db, $_REQUEST["b"], $_REQUEST["change"], $_REQUEST["order"]))
{
if (!$search_the_classifieds->search_form($db,$_REQUEST["b"]))
$search_the_classifieds->site_error($db);
}
}
elseif($_REQUEST["b"])
{
if(!$search_the_classifieds->Search($db, $_REQUEST["b"], $_REQUEST["change"]))
{
if (!$search_the_classifieds->search_form($db,$_REQUEST["b"]))
$search_the_classifieds->site_error($db);
}
}
else
{
if (!$search_the_classifieds->search_form($db, $_REQUEST["b"], $_REQUEST["change"]))
$search_the_classifieds->site_error($db);
}
$db->Close();
if ($get_execution_time) get_end_time($starttime);
exit;
break;