[請益] 問卷系統 顯示先前填過選項 ~

看板PHP作者 (忍不住一起唱 好聽~)時間17年前 (2008/06/03 11:17), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
我的問卷系統裡頭 需要填寫  text radio button checkbox 等選項 如果填寫者想再重填一次, 會把先前填過的顯示在表單上, <td width='183' height='38'><div align="left"><strong>1.請問您的姓名</strong> <strong>是</strong></div></td> <td width='471'><input name='who_are_name' type='text' class='in01' id="who_are_name" value="<?php echo $row_Recordset1['name']?>" size='10' ></td> 如果是文字,很單純的就是echo出來 但若是radio button <input type='radio' name='q03' value='1'> </div></td> <td width='18%'>幼稚園</td> <td width='26%'><input type='radio' name='q03' value='2'> 小學低年級</td> <td width='25%'><input type='radio' name='q03' value='3'> 小學中年級</td> <td width='27%'><input type='radio' name='q03' value='4'> 小學高年級</td> </tr> <tr valign='top'> <td width='4%'><input type='radio' name='q03' value='5'></td> <td width='18%'>國中</td> <td><input name='q03' type='radio' value="6"> 高中</td> <td><input type='radio' name='q03' value='7'> 高職</td> 有很多的value值... 請問要怎麼把先前填過的”radio button 和 checkbox”顯示出來呢? 謝謝! ※ 編輯: bingoton 來自: 140.122.45.93 (06/03 11:37)
文章代碼(AID): #18HBVXh- (PHP)
文章代碼(AID): #18HBVXh- (PHP)