Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Want to Add a Search Box  (Read 3049 times)

0 Members and 1 Guest are viewing this topic.

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Want to Add a Search Box
« on: November 08, 2009, 06:18:59 pm »

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

Code: [Select]
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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want to Add a Search Box
« Reply #1 on: November 08, 2009, 11:21:46 pm »

We can't really teach you HTML. Try
Code: [Select]
<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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.