php class 學習暫存文件,暫不要參考可能有錯
2009/03/20
想要在物件內使用另一個物件功能,發現可以用參數方式將該物件代入 class test(參數,參數,&物件參數) , 在 adodb 看到的,明天有空再試
2009/03/21
今天測試將 db 物件用傳址的方式傳給 user 物件,在 user 物件就可以呼叫資料庫內的資料了
2009/03/28
在用mysql 欄位的 timestamp 的型態時,存後在 mysql 是 2009-12-31 23:58:58 的格式表現,用 php 取下來時也是這樣格式,後來在測試時用 strtotime 的 php 函數可以將取下來的資料直接改為 unix timestamp,再來做處理,方式如下: date("Y-m-d H:i:s",strtotime($row['mysql-timestamp'])
select date_format(outtime,"%Y%m%d") from 資料表; 資料: 2009-03-28 12:00:00 傳回 20090328 利用 mysql 的date_format 函數
迴響
php class 學習暫存文件,暫不要參考可能有錯 | 豬窩
Hey there would you mind sharing which blog platform you're using?
I'm going to start my own blog soon but I'm having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your design seems different
then most blogs and I'm looking for something completely unique.
P.S Sorry for getting off-topic but I had to ask!