1.phpstudy 不接受有空格文件夾??
---------------------------------------------------------------------------------------------------------------
2.向php傳遞參數(shù)(在瀏覽器的地址欄)
正確傳遞:http://localhost/phpok/test/finda.php?dm=012002300111&hm=42305081
》解釋:http://localhost/phpok/test/finda.php? //php程序
》? ? “? ??? "? 問號是請求的意思
》“? ?dm? ?“ 是PHP接受的變量
》”? =01200230011&“? ? 是要尋找的數(shù)據(jù)? ? 》 “ & ” 是連接多個參數(shù)? //這是死格式。
》擴展?https://blog.csdn.net/weixin_47256502/article/details/116234592
https://blog.csdn.net/chentingpc/article/details/7075134????????????
---------------------------------------------------------------------------------
$sql="SELECT * FROM $my_table WHERE `hm`='$hm' AND `dm`='$dm' AND `phonenum`='$pn';";
我擦》? hm? ?dm? ? phonenum? 兩邊的不是? 單引號 是? ? 鍵盤esc? ?,下面的那個字符。