Re: [請益] 請問如何把table中的文字submit

看板PHP作者 (O⊥M)時間18年前 (2007/05/14 11:40), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《alanliu ()》之銘言: : <form action='next.php' method='post'> : <table> : <tr> : <td>abcd</td> <td> <input type="text" style="border: 0px" value="abcd" readonly="readonly"/> </td> 如果資料剛好要顯示、並且要能傳遞到下個 next.php 其實可以用類似上面這種方式,用 html 的屬性混搭 css 樣式 將資料放進 <input> 或 <textarea> 傳遞資料。 這樣可以省掉產生額外的 <input type="hidden"> 的標籤 :) : </tr> : </table> : <input type='submit'> : <form> : 請問在上面的格式中,如何把abcd透過sumit按鈕,傳到下一個next.php頁面中呢? : abcd是純文字.... : 謝謝,懇請各位高手幫忙 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.119.199.121 ※ 編輯: foxzgerald 來自: 140.119.199.121 (05/14 11:41)
文章代碼(AID): #16HzepTG (PHP)
文章代碼(AID): #16HzepTG (PHP)