MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Troubles with Search-Form



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On Tue, 4 May 1999, Alexander Lazic wrote:
> I have troubles with a special search Form.
> 
> The Problem: 
> 
> 1.) I have one Textfield in which you kann type a Search-String
> 2.) and 3 Select boxes witch where generated from the DB-Entries.
> 
> When you select anything in the boxes the minivend should generate a sql
> statment like 
> 
> " select * from products where sport like % OPTION_VALUE % "
> 
> or the other 2 Select box name (athlete,event) or if you type anything in
> the Textfield he should generate 
> 
> " select * from products where sport like %TEXTVALUE% or athlete like
> %TEXTVALUE% or event like %TEXTVALUE%"
> 
> 
> I have tried with the "mv_search_map" option but that's not helpfull
> please help;-(
> 
> And the great problem ist it must be one FORM!!!

You can have multiple forms on a web page and it does sound like what
you need.  The two search types are mutually exclusive given your
description so make them separate forms.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: