Jill 筆記
:::
:::
所有書籍
「PHP 從頭說」目錄
MarkDown
4-3 index.tpl
1. 安裝PHP開發環境與BootStrap響應式框架
1-1 index.html
2. PHP基本語法 V.S Smarty樣板
2-1 index.html
2-2 index.php
2-3 demo.php
2-4 index.tpl
3. 資料庫規劃與表單製作
3-1 index.php
3-2 header.php
3-3 footer.php
3-4 templates/header.tpl
3-5 template/navbar.tpl
3-6 index.tpl
3-7 function.php
3-8 templates/post_form.tpl
4. 表單函數與資料庫存取
4-1 post_form.tpl
4-2 index.php
4-3 index.tpl
4-4 array($result->fetch_assoc())
4-5 array:$result->fetch_row()
5. 資料的讀取、編輯修改及刪除
5-1 index.php
5-2 header.php
5-3 footer.php
5-4 templates/index.tpl
5-5 templates/show_one.tpl
5-6 templates/post_form.tpl
6. 檢查必填欄位與常用小工具
6-1 index.php
6-2 templates/post_form.tpl
6-3 templates/show_one.tpl
6-4 templates/index.tpl
6-5 templates/sweetalert_delete.tpl
4-5 array:$result->fetch_row()
PHP 從頭說 ======= ```markup array(7) { [0]=> array(9) { ["sn"]=> string(2) "10" ["title"]=> string(4) "ytry" ["directions"]=> string(9) "rtyrtyrty" ["end"]=> string(10) "2021-04-17" ["priority"]=> string(3) "高" ["assign"]=> string(19) "李大頭;吳大大" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:14:16" ["update_time"]=> string(19) "2021-04-10 15:14:16" } [1]=> array(9) { ["sn"]=> string(2) "11" ["title"]=> string(29) "" ["directions"]=> string(6) "fdsfsf" ["end"]=> string(10) "2021-04-17" ["priority"]=> string(3) "高" ["assign"]=> string(9) "李大頭" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:21:07" ["update_time"]=> string(19) "2021-04-10 15:21:07" } [2]=> array(9) { ["sn"]=> string(1) "7" ["title"]=> string(5) "hghfg" ["directions"]=> string(7) "fhghfdh" ["end"]=> string(10) "2021-04-26" ["priority"]=> string(3) "低" ["assign"]=> string(19) "李大頭;吳大大" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:01:43" ["update_time"]=> string(19) "2021-04-10 15:01:43" } [3]=> array(9) { ["sn"]=> string(1) "6" ["title"]=> string(5) "hghfg" ["directions"]=> string(7) "fhghfdh" ["end"]=> string(10) "2021-04-26" ["priority"]=> string(3) "低" ["assign"]=> string(19) "李大頭;吳大大" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:01:39" ["update_time"]=> string(19) "2021-04-10 15:01:39" } [4]=> array(9) { ["sn"]=> string(1) "5" ["title"]=> string(5) "hghfg" ["directions"]=> string(7) "fhghfdh" ["end"]=> string(10) "2021-04-26" ["priority"]=> string(3) "低" ["assign"]=> string(19) "李大頭;吳大大" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:01:33" ["update_time"]=> string(19) "2021-04-10 15:01:33" } [5]=> array(9) { ["sn"]=> string(1) "8" ["title"]=> string(7) "gdfgdfg" ["directions"]=> string(9) "hgjghjhgj" ["end"]=> string(10) "2021-04-30" ["priority"]=> string(3) "高" ["assign"]=> string(29) "李大頭;吳大大;郭大大" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:04:30" ["update_time"]=> string(19) "2021-04-10 15:04:30" } [6]=> array(9) { ["sn"]=> string(1) "9" ["title"]=> string(6) "ghghfd" ["directions"]=> string(6) "ghjghg" ["end"]=> string(10) "2021-04-30" ["priority"]=> string(3) "高" ["assign"]=> string(29) "李大頭;吳大大;郭大大" ["done"]=> string(1) "0" ["create_time"]=> string(19) "2021-04-10 15:05:14" ["update_time"]=> string(19) "2021-04-10 15:05:14" } } ```