1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <?php echo '<a href="http://www.google.com.tw/">Gooele</a>' ; /***********超連結語法************ <a href="網址">連結顯示的文字</a> ********************************/ echo '<br />' ; /************換行語法************ <br /> ********************************/ $word = '身體' ; echo '<br />' . $word ; echo '<br />頭' . '手' . $word . '膀胱' . '腳<br />' ; echo $word . '<br />' ; /***********文字連接符號********* '文字'點$word $word點'文字' '文字'點$word點'文字' ********************************/ echo '<input type="text" />' ; /************表單語法************ <form action="test.php" method="post"> <input type="text" /> </form> 其中text可改成 text 文字框 password 密碼框 button 一般按鈕 reset 清除按鈕 submit 送出按鈕 file 檔案按鈕 checkbox 核取方塊 hidden 隱藏變數(可用來傳遞隱藏的變數) ********************************/ ?> |
後記:
聽說是今天在程式語言(一)上課時,
某個來討債的學弟一問(咦!?