[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
help
****** message to minivend-users from Evan Thomas <tps.elt@mars.planetary.org> ******
Hello,
Can somebody tell me what is wrong with the following
[if explicit]
[condition]
$search = '[value mv_searchspec]';
if($search eq Posters){return 1;}
elseif($search eq "Prints"){return 1;}
elseif($search eq "Misc"){return 1;}
elseif($search eq "Calendars"){return 1;}
elseif($search eq "Assembly"){return 1;}
elseif($search eq "Models"){return 1;}
elseif($search eq "Slides"){return 1;}
elseif($search eq "Tshirts"){return 1;}
else{return 0;}
[/condition]
Category: [value mv_searchspec]<br>
[value mv_search_match_count] titles found
[else]
[page srchform] <IMG BORDER=0 SRC="search.gif" ALT="SEARCH"></A>
[L]Search Results[/L]<BR>
[value mv_search_match_count] titles found for [value mv_searchspec]
[/else]
[/if]
It always processes the [else] part no matter what?????
Thanks
Evan
-
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