(expression?"string when expression=true":"string when expression=false");
ex.
echo ($a=="yes"?"YES":"NO");
當 $a = yes 時, 會秀出 YES, 否則會秀出 NO
(expression?"string when expression=true":"string when expression=false");
ex.
echo ($a=="yes"?"YES":"NO");
當 $a = yes 時, 會秀出 YES, 否則會秀出 NO
This page contains a single entry by Pank published on May 24, 2004 3:34 PM.
Sasser remove tool was the previous entry in this blog.
[shell] while 讀入檔案表示法 is the next entry in this blog.
Find recent content on the main index or look in the archives to find all content.
Leave a comment