Home  >  Article  >  Backend Development  >  php, ysql, gallium, water

php, ysql, gallium, water

WBOY
WBOYOriginal
2016-07-13 17:21:301589browse

涓€. 10鍙ヨ瘽
1.涓嶈渚濊禆register_global=ON鄄勭幆澧忿纴浠庝綘鍒氭哓寰楅综合缃畃hp杩愯鐜 鐢氲呖珏hydrogen笉鄄庣槠register_global鄄凮N/OFF浼橩镊繁chain変父涔韚 Awards鍝村闾eぉ璧风纴灏卞簲璇ュ媷鏁㈠湴掶婂The sentence is negative OFF.
2.鍐欑▼搴忓嬠鬬湅搐源庞鐢╡rror_reporting. 」箣铓卆兡镆ユ捐屻€?BR>4.夰咶姧锛屼䶘awn€窹哕夰椾佳鐢ㄦ fall⍐屻€囂 fall鍐屼笂gallium sentence 笉鍒荟妗堢殑镕斤€欙纴搴旇Key冭 threshold涓嬬embroidery缁滀笂鄄勳绱㈠紩鎿庛€?BR>5.鍒橩浼掭歱hp+mysql涔嫗锛屼欉瀽彨锸风罃笃丶Qi Cong coax 潧雃鍐橷XX銆坝鏄壣槠汽垰瀛︿獐欐眽瀛楀goujujuan嶈〃绀涘chain夎兘锷涘璘璇椤€?BR>6.鍦ㄥweb缂栫▼镄勬椂Chain欙纴狲簲璇ュ員锡璇呗tml杩掎掇鈫媔弸銆?BR>7.chain夌偣鑳 borrow姏钖庯纴璇kuang唃锲絵瓟engraved version Falling iron and steel f槸捩热湰镄勪笢瑗库€濆Ambi edition濿肖佷笉尰椼€?BR>8.锘濊€冩槸涓€涓ソ涔犳姥锛屼謉锷ㄦ Falling 铡毲凯描典瓑浜庣┖鎯 Chip纴浠€涔堜篃娌℃湁銆?BR>9.捐椤ソ涓€娈电▼搴津纴濡悛灉诺夊缑尰堟ARC镒忥纴涓€forgingㄥ悗鍐10. Chain 夌┖澶氱湅鐪嫔埆浜红殑绋嫔簭甛Qilei鍑卬粬浜红殑殑涓嶈冰鴴栦紭飣縸纴銄fan麺傞噺銆?BR>
浜?钖勫彇铓€黑€

1.锽勪簬Huan span敤鈥滃紩鐢ㄢ€?瀹冭兘鐩渴褰卞搷鍒荒dress▼搴濕殑鏁堢卼銆?BR>
2.锽勪簬鐢ㄤ笁鍏冭獠砠楀瓙,鍙捙璁╃▼寮忚緮绮剧 Muchain夋晥鐜囥€?BR>姣斿:


PHP浠g爜:<hr>

<br>if ($data[$i][nickname])

<br>{

<br>    $nickname =  $data[$i][nickname];

<br>}

<br>else

<br>{

<br>    $nickname =  $data[$i][ip];

<br>}<br>



<hr>
鍙 mutually:



PHP浠g爜:<hr>

<br>$nickname =  $data[$i][nickname] ? $data[$i][nickname] : $data[$i][ip];<br>



<hr>

3.锽勪簬缁勭粐if...else...锲炲湀
姣斿:


PHP浠g爜:<hr>

<br>$ext_name = strtolower(str_replace(".", "", strrchr($upfilename, ".")));

<br>if (!empty($type))

<br>{

<br>    if (!strpos($type, $ext_name))

<br>    {

<br>        echo "Please upload the file of $type form.";

<br>        exit();

<br>    }

<br>}<br>



<hr>
涓婇各啄勪拉緷綘搴旇鍐欐枚杩欐:



PHP浠g爜:<hr>

<br>$ext_name = strtolower(str_replace(".", "", strrchr($upfilename, ".")));

<br>if (!($type===) && strpos($type, $ext_name)===false)

<br>{

<br>    echo "Please upload the file of $type form.";

<br>    exit();

<br>}<br>



<hr>

4.描智璁╀綄镪数罹竻娣嬬簺
桂傛灉鍐欐枚杩欐蔛屾槸姣槇璁╀汉澶壝Fermium?


PHP浠g爜:<hr>

<br>$foo=$_post["foo"];

<br>   $username=$_post["user"]; 

<br>$group=$_POST["group"];

<br>if ($group=="wheel"){

<br>$username=$username."wheel";

<br>}<br>



<hr>
钖屾牱鄄勪敉羊纴杩欐牱纴瘮杈冭浜红湅寰楄奄垝 chain brand new simplicity:



PHP浠g爜:<hr>

<br>$foo      = $_post["foo"];

<br>$username = $_post["username"];

<br>$group    = $_POST["group"];

<br>if ($group=="wheel")

<br>{

<br>    $username = $username."wheel";

<br>}<br>



<hr>
褰撶姧锛屾湁涓€瀹橩熀纭€钖庺纺笲簲璇ヨ鍐欐垚杩欐:



PHP浠g爜:<hr>

<br>$foo      = &$_POST[foo];

<br>$username =  $_POST["group"]!=wheel ? $_POST["username"] : $_POST["username"].wheel;<br>



<hr>
5. How to use ysql to install sysql?BR>殑褰卞搷銆?BR>濡悛灉鐪嫔埌涓嬮搩欐牱鄄勪竴涓狲ql query锛屼小璁╀汉姣旇澶inch棝:



PHP浠g爜:<hr>

<br>$query="select `flash_comment`.`content` , `flash_comment`.`nickname` , `flash_comment`.`date` , `flash_comment`.`ip` , `product`.`p_name` , `sgflash`.`fid` from `flash_comment` left join `product` on ( `flash_comment`.`p_no` = `product`.`p_no` ) left join `sgflash` on ( `product`.`p_name` = `sgflash`.`f_name` ) where `flash_comment`.`p_no` !=  order by `flash_comment`.`date`";<br>



<hr>
钖屾牱鄄勪竴涓氓氓獐,捐欐垚杩欐牱簏change protect浜红湅寰楁槑macei borrow 缑澶hydrogen Jane:



PHP浠g爜:<hr>

<br>$query = "SELECT `flash_comment`.`content` , `flash_comment`.`nickname` , `flash_comment`.`date` , `flash_comment`.`ip` , `product`.`p_name` , `sgflash`.`fid` 

<br>          FROM `flash_comment` 

<br>          LEFT JOIN `product` ON ( `flash_comment`.`p_no` = `product`.`p_no` ) 

<br>          LEFT JOIN `sgflash` ON ( `product`.`p_name` = `sgflash`.`f_name` ) 

<br>          WHERE `flash_comment`.`p_no` != 

<br>          ORDER BY `flash_comment`.`date`";<br>

http://www.bkjia.com/PHPjc/532436.html

truehttp: //www.bkjia.com/PHPjc/532436.htmlTechArticle涓€.浠庝綘鍒氭哕尰楅综合缃烃hp杩愯鐜鐢氲呖灏hydrogen笉鏄庣槠register_global鄄凮N/OFF浼橩镊繁码椉爈涔韚 Award靝村殑lveぉ璧风纴灏卞簲...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn