:::
所有書籍
「[1032]PHP入門」目錄
MarkDown
4-3 list_tpl.html
1. PHP開發環境與表單
1-1 post.php
1-2 index.php
2. 邏輯判斷及樣板引擎
2-1 index.php
2-2 post.php
2-3 index_tpl.html
3. MySQL的資料存取
3-1 index.php
3-2 post.php
3-3 post_tpl.html
3-4 eznews.sql
4. PHP函數與引入
4-1 post.php
4-2 index.php
4-3 list_tpl.html
4-4 function.php
5. 編輯與刪除資料
5-1 index.php
5-2 list_tpl.html
5-3 post.php
5-4 config.php
5-5 function.php
5-6 post_tpl.html
6. BootStrap各式應用
6-1 post.php
6-2 list_tpl.html
6-3 post_tpl.html
6-4 index.php
7. 置頂、計數器與 join
7-1 post.php
7-2 post_tpl.html
7-3 index.php
7-4 list_tpl.html
7-5 function.php
7-6 eznews.sql
8. 上傳與分頁
8-1 post.php
8-2 index.php
8-3 config.php
8-4 post_tpl.html
8-5 eznews.sql
9. 身份認證機制
9-1 eznews.sql
9-2 post_tpl.html
9-3 list_tpl.html
9-4 config.php
9-5 index.php
9-6 post.php
5. 編輯與刪除資料
\[1032\]PHP入門 ============= ``` <pre class="brush:php;highlight:[4,10];"> <?php //套用樣板並顯示頁面 function show_page($theme=""){ //載入小強樣板引擎 include_once('tbs_class.php'); //實體化一個樣板引擎 $TBS =new clsTinyButStrong ; //套用 index_tpl.html 樣板 $TBS->LoadTemplate("{$theme}.html",False) ; //顯示頁面 $TBS->Show() ; } //連線資料庫 function link_db(){ //連線到資料庫 $link=mysql_connect("localhost","tad1032","1qazxcde32!"); //假如沒連上 if(!$link){ return false; } //設定編碼為 utf-8 mysql_query("SET NAMES 'utf8'"); //選擇資料庫 mysql_select_db("tad1032"); return true; } ?> ```
:::
搜尋
search
進階搜尋
QR Code 區塊
快速登入
所有討論區
「PHP全端開發」線上課程討論區
XOOPS使用討論區
一般研習學員
社大學員專用
路過哈啦區
XOOPS佈景設計
XOOPS模組開發
Tad書籍區
即時留言簿
書籍目錄
總目錄
1.PHP開發環境與表單
1-1post.php
1-2index.php
2.邏輯判斷及樣板引擎
2-1index.php
2-2post.php
2-3index_tpl.html
3.MySQL的資料存取
3-1index.php
3-2post.php
3-3post_tpl.html
3-4eznews.sql
4.PHP函數與引入
4-1post.php
4-2index.php
4-3list_tpl.html
4-4function.php
5.編輯與刪除資料
5-1index.php
5-2list_tpl.html
5-3post.php
5-4config.php
5-5function.php
5-6post_tpl.html
6.BootStrap各式應用
6-1post.php
6-2list_tpl.html
6-3post_tpl.html
6-4index.php
7.置頂、計數器與 join
7-1post.php
7-2post_tpl.html
7-3index.php
7-4list_tpl.html
7-5function.php
7-6eznews.sql
8.上傳與分頁
8-1post.php
8-2index.php
8-3config.php
8-4post_tpl.html
8-5eznews.sql
9.身份認證機制
9-1eznews.sql
9-2post_tpl.html
9-3list_tpl.html
9-4config.php
9-5index.php
9-6post.php
展開
|
闔起
線上使用者
47
人線上 (
10
人在瀏覽
線上書籍
)
會員: 0
訪客: 47
更多…
:::
主選單
NTPC OpenID
活動報名
模組控制台
進階區塊管理
站長工具箱(急救版)
網站地圖
Tad Tools 工具包
站長工具箱
行事曆
討論留言
嵌入區塊模組
快速登入
網站計數器
好站連結
最新消息
檔案下載
線上書籍
電子相簿
影音播放
常見問題
萬用表單
友站消息
社大學員
新聞
下載
教材
影音
討論
其他選單
好站連結
行事曆
電子相簿
常見問題
萬用表單
即時留言簿
友站消息
社大學員
登入
登入
帳號
密碼
登入