The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please, help with CGI Script

Discussion in 'General Discussion' started by AndyReed, Sep 20, 2004.

  1. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    I need to modify this procedure, from listing the products of my shopping cart in pull-down menu format to bulleted list. Can anyone help? Thank you and appreciate it.

    <b>PRODUCTS LIST</b><br>
    <form action="$script_url" method="post">
    <select name="category">
    <option value="All Products">All Categories</option>|;
    my @categories=&get_categories;
    foreach $category (@categories) {print "<option>$category</option>";}
    print qq | </select>
    <input type="submit" value="GO!">
    <input type="hidden" name="uid" value="$FORM{'uid'}">
    <input type="hidden" name="action" value="search"></form>
     
Loading...

Share This Page