1 (edited by 2012-08-10 15:53:20)

Topic: Search Help

Hi guys I wanted to add a searchbox on my home page but when I make the search I get the results above the article.

I'd like to see just the result in the same place as the articles but without showing them.

How can I fix this?

This is the code:

<?PHP
if($action == "search" || $dosearch == "yes")
{
     $action = "search";
     $dosearch = "yes";
     include("/web/htdocs/www.******.it/home/cutenews/search.php");
}
if(isset($_GET['cid']))
$category = $_GET['cid'];
else
$category = "3,4,5,6,8,9,10,11,12";
$number=8;
$template="******";
include("/web/htdocs/www.******.it/home/cutenews/show_news.php");
?>

Also when someone comments the comment get posted but people got redirected to the main page and not to the fullstory.

Re: Search Help

up

Re: Search Help

it's been over 3 hours now. Time to 'Up' it again.

Re: Search Help

Yeah ahaahah XD but the answer to my problem would be better than that suggestion XD