一个很简单的问题,可能理解的不够透彻,就是在mysql的条件语句中使用变量的正确写法,这里记录一下。
如:
1 $sql = "select IP from SYS_MESSAGE where IP = '".$datas['IP']."'";