参考文章:https://blog.csdn.net/PowerBlogger/article/details/110863765
在mysql里0和’‘比较是相等的,
比如 if(0!=’’,100,200)这个结果是200,因为空字符串会转化为数0,具体看参考文档
参考文章:https://blog.csdn.net/PowerBlogger/article/details/110863765
在mysql里0和’‘比较是相等的,
比如 if(0!=’’,100,200)这个结果是200,因为空字符串会转化为数0,具体看参考文档