Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Please, help with CGI Script

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

  1. AndyReed

    AndyReed Well-Known Member

    May 29, 2004
    Likes Received:
    Trophy Points:
    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>
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice