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