# How to read data in text file and put into the web page

**URL:** <https://www.ruby-forum.com/t/how-to-read-data-in-text-file-and-put-into-the-web-page/188764>\
**Category:** Ruby\
**Created:** [May 18, 2010, 8:37am UTC](https://www.ruby-forum.com/t/how-to-read-data-in-text-file-and-put-into-the-web-page/188764 "2010-05-18T08:37:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweetzubair](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@sweetzubair](https://www.ruby-forum.com/u/sweetzubair)\
**Post date:** [May 18, 2010, 8:37am UTC](https://www.ruby-forum.com/t/how-to-read-data-in-text-file-and-put-into-the-web-page/188764/1 "2010-05-18T08:37:01Z")

</div>

I want to read the Radio button value or drop down value from the text  
file.  
please guide me…

i write code for reading text value its working fine but no idea about  
radio button or dropdown list values.
