PHP语句,$map['sex'] = "男“ 或者等于女 怎么写
回复讨论(解决方案)
if($map['sex'] = "男" || $map['sex'] = "女")
$map['sex'] = "男“ || $map['sex'] = "女“
if($map['sex'] = "男" || $map['sex'] = "女")
又是你呀,上次也是你回答的,刚找到答案,应该是==,不是= 。分给你吧
if($map['sex'] = "男" || $map['sex'] = "女")
又是你呀,上次也是你回答的,刚找到答案,应该是==,不是= 。分给你吧
哈哈 你前面给的 = 我也跟着写=了 突然发现自己犯这么低级的错误了 刚起来脑袋不清醒
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