日期:2014-05-17  浏览次数:20493 次

超复杂,跪求,如何将一行数据拆分成多行
一个考试系统的数据库,我精简下
两列

第一列,姓名
张三


第二列,考试内容,NND,下面这些全都在一列上

Users_Question
"
<h1>考试测试</h1>
<div class=""""MainLine"""">单选题(每题5分,共12题,60分)</div>
<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">1.题目1 (&nbsp;A&nbsp;) &nbsp;&nbsp;<span style=&#39;color:green&#39;>正确</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>

<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">2.题目2 (&nbsp;B&nbsp;) &nbsp;&nbsp;<span style=&#39;color:green&#39;>正确</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>

<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">3.题目3 (&nbsp;D&nbsp;) &nbsp;&nbsp;<span style=&#39;color:red&#39;>错误&nbsp;&nbsp;正确答案:B</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>

<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">4.题目4 (&nbsp;A&nbsp;) &nbsp;&nbsp;<span style=&#39;color:green&#39;>正确</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>


<div class=""""MainLine"""">多选题(每题5分,共8题,40分)</div>
<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">5.题目5 (&nbsp;B、C&nbsp;)&nbsp;&nbsp;<span style=&#39;color:green&#39;>正确</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>

<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">6.题目6 (&nbsp;A、D&nbsp;)&nbsp;&nbsp;<span style=&#39;color:red&#39;>错误&nbsp;&nbsp;正确答案:A、B、D</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>

<div class=""""IsQuestion"""">    
<p style=""""margin-top:5px;"""">7.题目7 (&nbsp;A、C&nbsp;)&nbsp;&nbsp;<span style=&#39;color:green&#39;>正确</span></p>
<p>A.选项</p><p>B.选项</p><p>C.选项</p><p>D.选项</p></div>

<div class=""""IsQuestion"""">