初中正確的態(tài)度作文
1、用php打印出前一天的時(shí)間格式是2006-5-10 22:21:21(2分)

echo date("Y-m-d G:i:s",strtotime("-1 day"));
2、echo(),print(),print_r()的區別(3分)
echo()是一個(gè)php語(yǔ)句,所以沒(méi)有返回值,能打印簡(jiǎn)單的數據。
print()是一個(gè)函數,有返回值,能打印簡(jiǎn)單的數據。
print_r()是一個(gè)函數,能打印復雜的(mix)數據。
如:
'wangking','qq'=>'123456');print_r($arr);?>
運行結果:
hello word
the value is 1
Array ( [name] => wangking [qq] => 123456 ) ......
3、能夠使html和php分離開(kāi)使用的模板(1分)
smarty模板
4、使用哪些工具進(jìn)行版本控制?(1分)
TortoiseSVN
6、如何實(shí)現字符串翻轉?(3分)
strrev("Hello world!");
【初中正確的態(tài)度作文】相關(guān)文章:
正確的態(tài)度作文(精選17篇)07-03
初中態(tài)度作文12-02
生活的態(tài)度初中作文04-10
我們要用正確的態(tài)度對待挫折作文(精選41篇)06-19
態(tài)度初中作文(精選5篇)02-06
態(tài)度決定命運初中作文08-20
初中以態(tài)度為話(huà)題作文02-13
[必備]態(tài)度決定命運初中作文10-16
態(tài)度決定人生初中作文02-21
態(tài)度決定一切作文初中11-26
- 相關(guān)推薦