Jump to content

Recommended Posts

Hi folks, 

 

I am having problem with my project. I need to show the corresponding values from the populated drop down list. so in my table i have this. I need to show the quantity from the head_mark i chose from the populated drop down list. Please help me

<?php
    $paint_parse = oci_parse($conn, 'SELECT HEAD_MARK FROM PAINTING 	ORDER BY REV_DATE');
    oci_define_by_name($paint_parse, 'HEAD_MARK', $head_mark);
    oci_execute($paint_parse, OCI_DEFAULT);
?>

<section>
                                <div class="row">
                                    <div class="col4 first">
                                        <label for="headmark" class="lbl-text tleft">HEADMARK :</label>
                                    </div><!-- end .col4 section -->
                                    <div class="col8 last">
                                        <label for="headmark" class="lbl-ui select">
                                          <select id="headmark" name="headmark" onChange="">
                                                <?php while (oci_fetch($paint_parse)){?>
                                                <option value="headmark_sel" id="headmark"> <?php echo "$head_mark"; ?></option> <?php } ?>
                                          </select>
                                        </label>     
                                    </div>	
                                </div>                        
                           </section>                                                  
                           <section>
                                <div class="row">
                                    <div class="col4 first">
                                        <label for="lnames" class="lbl-text tleft">Total Quantity:</label>
                                    </div><!-- end .col4 section -->
                                    <div class="col8 last">
                                        <label class="lbl-ui">
                                            <!-- Show Corresponding head mark quantity in this field -->
                                            <h1><?php $qty_parse ?></h1>
                                        </label>
                                    </div><!-- end .col8 section -->	
                                </div><!-- end .row section-->                            
                           </section>
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.