If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.
Post a reply to the thread: Select value from drop down list and display in text area, PHP.?
Click here to log in
What is the number after 87?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
You may rate this thread from 1-star (Terrible) to 5-stars (Excellent) if you wish to do so.
Select value from drop down list and display in text area, PHP.? Im trying to get data from database after drop down list value is selected and display it in a text area. I have this for now.... <div id="getFb"> <select name="natureOffb" class="selection"> <option value="Feedback">Feedback</option> <option value="Enquiry">Enquiry</option> <option value="Compliment">Compliment</option> <?php $sql=mysqli_query($mysqli, "SELECT natureOffb From forum"); while($row = mysqli_fetch_array($sql)){ } ?> </select> <br> <textarea class="display"></textarea> <textarea class="display"></textarea> <textarea class="display"></textarea> <textarea class="display"></textarea> </div> After that, Im lost/stucked. Help? Thank you!
Select value from drop down list and display in text area, PHP.?
Forum Rules