Topic: Search Form like this

Already searched, but i not have found what exactly i want.
I've the CuteNews 1.4.6.

I want put a long search form (inside the top.php), when you research something the results will appear on the home.php.
This is the Html code on the index.php and the code in the home.php. Like this example

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<div align="center">
<table width="1080"; height: 500px; border="0" align="center" cellpadding="0" cellspacing="0">
    <tr align="left" valign="top">
<td colspan="3"><span class="txtfin">
<? include("top.html"); ?>
<td style="width: 140px; background-color: #9F0000;vertical-align: top; text-align: left"><span class="txtfin">
<? include("left.php"); ?>
if(isset($_GET['p']) && file_exists($_GET['p'].'.php')){
<td style="width: 300px; vertical-align: top; text-align:right">
<span class="txtfin">
<? include("right.php"); ?>
    <tr align="center" valign="top"; "background-color: #000000">
<td colspan="3" style="background-color: #060D21"><span class="txtfin">
<? include("sub.html"); ?>

<?php $number = "15"; 

Re: Search Form like this


3 (edited by 2012-09-08 20:54:22)

Re: Search Form like this

Posting wrong
Mod delete fears

4 (edited by 2012-09-09 09:47:21)

Re: Search Form like this

What is the code in  top.html ?

<? include("top.html"); ?>

Posting in the correct section will help you get more answers.

Re: Search Form like this

Inside top.php try adding the following code:

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>
<form action="home.php" method="get">
<input type="text" name="story" value="" style="width:90%" />
<input type="submit" name="go" value="search" style="width:10%" />

You should also try to customize the code above base on your needs. The code also asumes home.php can handle the search parameters.

Re: Search Form like this

How can i use a very easy search form like the example2.php?
I don't understand how to install.