php - search button and seach page
-
php - search button and seach page
Hi does anybody know how to create a search page and a button using the php language, when it comes to web designing. What sort of coding would i require to produce a page that looks up data within your webpage?
I have given the coding i have already produced in notepad, what sort of coding should i add in to make this an official search page??
<HEAD>
<TITLE>Welcome</TITLE>
</HEAD>
<BODY> <! --Note to self: a quick message to the reader -->
Welcome to the comics 4u official site. Here you shall find
all the comics you are looking for. See below to find your
favourite comic books. If you cannot find what you are looking for
then you can use the search engine to help you make a search for the
correct product you want.
</BODY>
</HTML>
<p>
<html>
<body bgcolor="green">
<h4>Latest Comics in store listed below:</h4><! --Note to self: unordered list -->
<ol type="a">
<li>Batgirl Begins</li>
<li><A HREF="http://www.flixens.com/files/green_arrow(1).jpg">The Green Arrow</A></li>
<li>Black Marble</li>
<li>Return of superboy</li>
<li>The Teen Titans</li>
<li>JLA: Unlimited</li>
<P>
<form action=”example.php" method=”POST”> <b>Name of the comic</b>
<input type="text" name of the comic="requiredname">
</form>
<input type="submit" value="Search"><! --Note to self: a button to allow you to search for comics books. -->
</P>
<A HREF="menu.HTML">Menu</a>
Below is the coding where the data will be coming from (just in case anybody needs to know):
<html><! --Note to self: below the list shows the old comics in store that customers may want to browse and look for -->
<body>
<body bgcolor="green">
<h4>A list of some old comics that you may want to want to order:</h4>
<ul>
<li>dundeons& dragons</li>
<li>The Dream Stone</li>
<li>Boy Wizard</li>
<li>The Demon Teacher</li>
</ul>
</body>
</html>
<A HREF="menu.HTML">Menu</a>
Please let me know asap. Thanks!!
-