Drop Down List codes:

  <form class="selectfb" name="getFb" method="post">
<select action="getFb.php" name="natureOffb" class="selection" >
<option disabled value="--Select Nature ofFeedback">--Select Nature Of Feedback--</option>
    <option value="Feedback" >Feedback</option>
    <option value="Enquiry">Enquiry</option>
    <option value="Compliment">Compliment</option>
</select>
</form>

How to retrieve the data from database after I select a nature of feedback? The value that has been retrieve needs to be displayed in a textarea/textbox.

Please help.... Thank you! (:

If you're talking about dynamically acquiring the information without submitting the form you'd need to do an AJAX Call to another PHP Script which queries the DB and returns your Data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.