PhP drop down box

I have this code for what I call a to z mode for being able to select the winning bidder. what I am needing is at the end of the chart there is a drop down box where you can pick the winning bidder . I am needing an option in that drop down box saying No winner along with the winning bids

[php]

                        <div class="TabbedPanelsContent">
                        <form name="atoz" id="atoz" action="biducation.php?action=awardbidtest" method="post"><!--award&method=az"-->
                        <h2>A-Z Mode</h2>
                        <h4 style="color:#888888;"><?php echo $priceDescription; ?></h4>
                        <table bgcolor="#FFFFFF" border="1" width="700" cellpadding="5" cellspacing="5">
                        <th scope="col">Quantity</th>
                        <th scope="col">Unit(s)</th>
                        <th scope="col">Description</th>
                        <th scope="col">All Vendor Prices</th>
                       
                        <!--/*for($colIterator=0; $colIterator<$vendorResponseCounter; $colIterator++){
                        //echo "<th scope=\"col\">$vendorName[$colIterator]</th>";
                        }*/
                        //echo "<th scope=\"col\">Lowest for this item</th>";-->
                        <?php
                        // loop to create table with bid items and qtys
                        for($i=0; $i<$counterArrayBidItems; $i++){
                            echo "<tr>";
                            echo "<td>$arrayBidQtys[$i]</td>";
                            echo "<td>$arrayBidItems[$i]</td>";
                            echo "<td>$arrayBidDescr[$i]</td>";
                            ?>
                            <td>
                            <select name="no winner[]">
                            
                            <?php
                            
                            // nested for loop to load the cherry picker lowest price for a row
                            for($cpIterator=0; $cpIterator<$vendorResponseCounter; $cpIterator++){
                                
                                $cpArrayLowestPrice[$cpIterator] = $mainArrayVendorPrices[$cpIterator][$i];
                            }
                            
                            // nested for loop to output undetermined number of cells in the table row
                            for($rowIterator=0; $rowIterator<$vendorResponseCounter; $rowIterator++){
                                if($mainArrayVendorPrices[$rowIterator][$i] != "0" && $mainArrayVendorPrices[$rowIterator][$i] != null && $mainArrayVendorPrices[$rowIterator][$i] != '')
                                {
                                    $dsc = $mainArrayVendorPrices[$rowIterator][$i];
                                    $ttlaz = floatval($dsc);// * $arrayBidQtys[$i];
                                    if($dsc > 0)
                                    {
                                        $dsc = '$'  . number_format($ttlaz,2);
                                    }
                                    else
                                    {
                                        $dsc = '';
                                    }
                                    echo '<option value="' . $vendorid[$rowIterator] .'">'.$vendorName[$rowIterator]. ' - ' . $dsc .'</option>';
                                }
                            }
                            ?>
                            </select>
                            </td>
                            </tr>
                        <?php } ?>
                        </table>
                        <input name="bid" type="hidden" value="<?php echo $bid; ?>" />
                        <input name="overrideReason" id="overrideReason" type="hidden" value="" />
                        <td colspan="3"></td>
                                        </td>
                                    </tr>
                                    <tr>
                                        
                        </td>                                                       [/php]

This is a double-post! I answered your question in the other post.

I see you placed a better SUBJECT line on this one, but, since I already answered it, I will mark this post solved.

See the other post.

Sponsor our Newsletter | Privacy Policy | Terms of Service