The second code is the code for displaying the words error:
And in this page is where the code get repeated.
[code=php]
<TD class=w align=middle bgColor=#ffcc00> <?php
echo "<p style='color:red;'>ERROR: You must enter a value to search for.</p>\n";
?> </TD>
[/code]
this is the source code i got when click the search button. As you can see is doble code .
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML><HEAD><TITLE></TITLE>
<META content="Evrsoft First Page" name=GENERATOR>
<META content=" " name=description>
<META content=" " name=keywords>
<STYLE type=text/css>FORM.tb {
DISPLAY: inline
}
.h {
FONT-SIZE: 9pt; FONT-FAMILY: Geneva,Arial,sans-serif; TEXT-DECORATION: none
}
.c {
FONT-SIZE: 80%; COLOR: #660099; FONT-FAMILY: Arial,Geneva,sans-serif; TEXT-DECORATION:none
}
.d {
FONT-SIZE: 60%; FONT-FAMILY: Arial,Geneva,sans-serif
}
DT {
MARGIN-TOP: 0.8em; FONT-WEIGHT: bold; FONT-SIZE: 120%
}
.w {
FONT-SIZE: 125%; COLOR: #660099; FONT-FAMILY: Verdana,sans-serif
}
.NSlyr {
VISIBILITY: hidden; WIDTH: 119px; POSITION: absolute
}
</STYLE>
<SCRIPT type=text/javascript>
function go()
{
location=document.forms[0].gowhere.value
}
</SCRIPT>
</HEAD>
<BODY text=black vLink=purple link=blue bgColor=white>
<TABLE cellSpacing=2 cellPadding=1 width="100%" bgColor=#ffcc00 border=0>
<TBODY>
<TR vAlign=top>
<TD width="100%">
<TABLE cellSpacing=2 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD class=c align=middle width="100%" bgColor=#fff3ac colSpan=3><IMG
height=9 alt="" src="t.gif" width=1> <BR><A href=""><IMG height=84
alt=tutyshop.com isMap
src="file:///C|/Documents and Settings/Owner/My Documents/gladys/shops/.gif"
width=84 border=0></A><B>AUSTRALIA'S LEADING PLACE TO FIND GOOD
DEALS, SAMPLES & FREE OFFERS</B><BR><IMG height=9 alt=""
src="t.gif" width=1></TD></TR>
<TR>
<TD class=c align=middle width="86%" bgColor=#ffcc00> <B>
<a href="http://localhost/textimage99.php"> Home</A> · <a href="http://localhost/computersandelectronics.php">Computers&Electronics</A> · <a href="http://localhost/gamesandtoys.php"> Games&Toys</A> · <a href="http://localhost/giftsandgiftsets.php">Gifts&Gift Sets</A> · <a href="http://localhost/hadwareandtools.php">Hadware&Tools</A> ·
<a href="http://localhost/Healthandbeauty.php">Health&Beauty</A> ·
<a href="http://localhost/more.php">More...</A></B></TD>
<TD align=right width="14%">
<TABLE width="100%" cellSpacing=2 cellPadding=1 border=0>
<TBODY>
<TR>
<TD>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML><HEAD><TITLE></TITLE>
<META content="Evrsoft First Page" name=GENERATOR>
<META content=" " name=description>
<META content=" " name=keywords>
<STYLE type=text/css>FORM.tb {
DISPLAY: inline
}
.h {
FONT-SIZE: 9pt; FONT-FAMILY: Geneva,Arial,sans-serif; TEXT-DECORATION: none
}
.c {
FONT-SIZE: 80%; COLOR: #660099; FONT-FAMILY: Arial,Geneva,sans-serif; TEXT-DECORATION:none
}
.d {
FONT-SIZE: 60%; FONT-FAMILY: Arial,Geneva,sans-serif
}
DT {
MARGIN-TOP: 0.8em; FONT-WEIGHT: bold; FONT-SIZE: 120%
}
.w {
FONT-SIZE: 125%; COLOR: #660099; FONT-FAMILY: Verdana,sans-serif
}
.NSlyr {
VISIBILITY: hidden; WIDTH: 119px; POSITION: absolute
}
</STYLE>
<SCRIPT type=text/javascript>
function go()
{
location=document.forms[0].gowhere.value
}
</SCRIPT>
</HEAD>
<BODY text=black vLink=purple link=blue bgColor=white>
<TABLE cellSpacing=2 cellPadding=1 width="100%" bgColor=#ffcc00 border=0>
<TBODY>
<TR vAlign=top>
<TD width="100%">
<TABLE cellSpacing=2 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD class=c align=middle width="100%" bgColor=#fff3ac colSpan=3><IMG
height=9 alt="" src="t.gif" width=1> <BR><A href=""><IMG height=84
alt=tutyshop.com isMap
src="file:///C|/Documents and Settings/Owner/My Documents/gladys/shops/ford06_sm.gif"
width=84 border=0></A><B>AUSTRALIA'S LEADING PLACE TO FIND GOOD
DEALS, SAMPLES & FREE OFFERS</B><BR><IMG height=9 alt=""
src="t.gif" width=1></TD></TR>
<TR>
<TD class=c align=middle width="86%" bgColor=#ffcc00> <B>
<a href="http://localhost/textimage99.php"> Home</A> · <a href="http://localhost/computersandelectronics.php">Computers&Electronics</A> · <a href="http://localhost/gamesandtoys.php"> Games&Toys</A> · <a href="http://localhost/giftsandgiftsets.php">Gifts&Gift Sets</A> · <a href="http://localhost/hadwareandtools.php">Hadware&Tools</A> ·
<a href="http://localhost/Healthandbeauty.php">Health&Beauty</A> ·
<a href="http://localhost/more.php">More...</A></B></TD>
<TD align=right width="14%">
<TABLE width="100%" cellSpacing=2 cellPadding=1 border=0>
<TBODY>
<TR>
<TD>
<TD>
</TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>