在FreeBSD8.2上,我用下面的配置文件安装mysql。2G where the system runs mainly## locationsFor information about these locations, see:
# http://dev.mysql.com/doc/mysql/en/option-fil
我正在从MySQL转换到MySQLi,并且我注意到如果我在mysql查询中限制到一行,我是否有必要检查行数是否为1?毕竟,可以返回的行数是0或1。下面是我目前使用的代码(在我从mysql转换到mysqli的过程中没有经过测试):
$query = "SELECT email,auth,username FROM user_list WHERE id