S
Sam
I have a .cgi script on my website and (I think) it's written in perl.
I know some c++ and as far as I can tell this is the drop down menu
on my store.cgi page:
</ul>
<!-- VF begin client add search params form -->
<form action="$script_url" method="post">
List by Collection<br>
<select name="collection"><option>Select</option>|;
@collections=&get_collections;
foreach $collection (@collections) {print
"<option>$collection</option>";}
print qq | </select>
<input type="submit" value="Search">
I have a list of items categorized by collection. One of these is
simply called 'collection' (where as the others have names like
'ceramic collection', 'glassware collection', etc.).
*What I need to do is have the drop down menu list all of these
categories, and for the group that is simply called 'collection', I'd
like it to display 'Ken Edwards collection'. For example:
change
____________________________ that's the
Ceramic collection |\/| <-down arrow on the drop down menu
Figurine collection |
Collection | *This line needs to change
Glassware collection________|
to
____________________________
Ceramic collection |\/|
Figurine collection |
Ken edwards collection | *This line needs to change
Glassware collection________|
I assume this can be done with an if statement, but I can't do it.
Thanks in advance
PS:I sell Mexican crafts, and I'm looking for reciprocal links, if
your interested please email me. I wont plug myself here, but I'll
email you my website if youd like.
Thanks again
Sam
I know some c++ and as far as I can tell this is the drop down menu
on my store.cgi page:
</ul>
<!-- VF begin client add search params form -->
<form action="$script_url" method="post">
List by Collection<br>
<select name="collection"><option>Select</option>|;
@collections=&get_collections;
foreach $collection (@collections) {print
"<option>$collection</option>";}
print qq | </select>
<input type="submit" value="Search">
I have a list of items categorized by collection. One of these is
simply called 'collection' (where as the others have names like
'ceramic collection', 'glassware collection', etc.).
*What I need to do is have the drop down menu list all of these
categories, and for the group that is simply called 'collection', I'd
like it to display 'Ken Edwards collection'. For example:
change
____________________________ that's the
Ceramic collection |\/| <-down arrow on the drop down menu
Figurine collection |
Collection | *This line needs to change
Glassware collection________|
to
____________________________
Ceramic collection |\/|
Figurine collection |
Ken edwards collection | *This line needs to change
Glassware collection________|
I assume this can be done with an if statement, but I can't do it.
Thanks in advance
PS:I sell Mexican crafts, and I'm looking for reciprocal links, if
your interested please email me. I wont plug myself here, but I'll
email you my website if youd like.
Thanks again
Sam