How to select all inputs having same name insert into Mysql?
<p>How the form mutiple input having same name insert into Mysql ?? I've tried insert three same name select option into  Mysql ,but when submit just all become into one column，every questionid has it own score ，for example,I have three questionid column in mysql and each column has it own score,so it  might have three score column for each questionid  just like this----><a href="http://i.stack.imgur.com/fAQgw.jpg" rel="nofollow">enter image description here</a> and I have a problem like this -----><a href="http://i.stack.imgur.com/dCqKb.jpg" rel="nofollow">enter image description here</a>!!</p>

<p>jsp code:</p>

<pre><code> &lt;form id="result" role="form" class="form-inline" action="mature.htm" method="post"&gt;

 &lt;select name="score" class="form-control input-lg"&gt;
                       &lt;font&gt;
                                &lt;option value="1"&gt;○&lt;/option&gt;
                                &lt;option value="2"&gt;△&lt;/option&gt;
                                &lt;option value="3"&gt;×&lt;/option&gt;&lt;/select&gt;
                        &lt;/font&gt;
                &lt;font size="5"&gt;&lt;select name="score" class="form-control input-lg"&gt;
                                &lt;option value="1"&gt;○&lt;/option&gt;
                                &lt;option value="2"&gt;△&lt;/option&gt;
                                &lt;option value="3"&gt;×&lt;/option&gt;&lt;/select&gt;
                        &lt;/font&gt;
                &lt;font size="5"&gt;&lt;select name="score" class="form-control input-lg"&gt;
                                &lt;option value="1"&gt;○&lt;/option&gt;
                                &lt;option value="2"&gt;△&lt;/option&gt;
                                &lt;option value="3"&gt;×&lt;/option&gt;&lt;/select&gt;
                        &lt;/font&gt;
</code></pre>

<p>entity model:Result.java</p>

<pre><code> @Column(name="score", length=45)
public String getScore() {
    return this.score;
}

public void setScore(String score) {
    this.score = score;
}
</code></pre>

<p>This is my hibernate (create)DEO:</p>

<pre><code> public void create2(Result e,Result e2)
{

    try{
         Session s=HibernateUtil.getSessionFactory().getCurrentSession();
         s.beginTransaction();
         e.setQuestionid("lokesh@mail.com");   
         s.save(e);
         s.getTransaction().commit();
         Session s2=HibernateUtil.getSessionFactory().getCurrentSession();
         s2.beginTransaction();
         e2.setQuestionid("l.com");   
         s2.save(e2);
         s2.getTransaction().commit();

    }catch(Exception ex){
        ex.printStackTrace();

    }
}
</code></pre>