數(shù)據(jù)庫(kù) 字段屬性 字符串 char 定長(zhǎng) varchar 不定長(zhǎng),默認(rèn)值為255 數(shù)值 int 整數(shù) float 浮點(diǎn)數(shù),對(duì)精確度要求低的 ...

數(shù)據(jù)庫(kù) 字段屬性 字符串 char 定長(zhǎng) varchar 不定長(zhǎng),默認(rèn)值為255 數(shù)值 int 整數(shù) float 浮點(diǎn)數(shù),對(duì)精確度要求低的 ...
cookie 設(shè)置cookie : setcookie('名','值',有效期,范圍)setcookie('username','jake',PHP_INT_MAX) coo...
文件操作函數(shù) file_get_contents(文件路徑) file_get_contents(./1.txt))//讀取1.txt里內(nèi)容 file_put_cont...
數(shù)據(jù)類型 int float bool strig null array object resource 單引號(hào) 雙引號(hào) ' ' 最外層只要是單引號(hào),里面的東西會(huì)原樣輸出 "...