Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 同城异性有头像SQL查询语句

[复制链接]
weiwenchu 发表于 2011-6-18 20:03:25 | 显示全部楼层 |阅读模式
想利用后台的数据调用实现同城异性有头像会员调用,代码如下:
SELECT A.uid,A.name FROM uchome_space AS A INNER JOIN uchome_spacefield AS B ON A.uid=B.uid AND sex != '$space[sex]' AND sex != 0 AND avatar = 1 AND residecity != '$space[residecity]'
其中 sex != '$space[sex]'  和 residecity != '$space[residecity]' 没有效果,是为什么?
yuqingtian 发表于 2011-6-18 21:41:14 | 显示全部楼层
路过,帮顶!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-26 16:33 , Processed in 0.192539 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表