Want to Add a Search Box Want to Add a Search Box
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Want to Add a Search Box

Started by mail2annachi, November 08, 2009, 06:18:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mail2annachi

hi ! i want to add a search box in my website - http://actressarchives.org/

iam not good at programming, but i tried something like this

<form method="post" action="http://actressarchives.org/thumbnails.php?album">

<input type="text" style="width: 20%" name="q" maxlength="255" value="" />
<input type="submit" value="Search" class="button" />

</form>


when i use to search it tells

The selected album/file does not exist !

plz help me for this search bar

Joachim Müller

We can't really teach you HTML. Try<form method="post" action="thumbnails.php" name="searchcpg">for the form tag. The name of the text input field needs to be search. Take a look at the HTML output of http://actressarchives.org/search.php