Akopia Akopia Services

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

[mv] How to return all.



******    message to minivend-users from Jeremy Olson <jolson@enteronhome.com>     ******

Dear Minivend List,

I am using Minivend 3 and am populating a pull-down menu basesd on a
search of a database.
It returns the correct amount of hits, but only displays the last item
in the field that amount of times, instead of all the actual items.

the code is:

<script
language="JavaScript">
<!-- Begin
function leapto(form) {
var myindex=form.model.selectedIndex
window.location=(form.model.options[myindex].value);
}
// End -->
</script>



<FORM>
<SELECT NAME="popup" SIZE=1 onChange="go(this.form);return false">
<OPTION value="javascript://">Select a [value mv_searchspec]
[loop search="
 fi=make_model.asc
 se=[value mv_searchspec]
 sf=mfg
 ml=999
 "]<OPTION value=scan/sp=results2.html/sf=model/se="[loop-data
make_model model]">[loop-data make_model model]
[/loop]
</SELECT>
</FORM>

and the database is:

mfg order model
bmw 1 first
bmw 2 sec
bmw 3 third
honda 1 dsfdf

Can anyone help.

Jeremy


-
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: