ASP网站如何实现调用与当前产品同分类的产品

[复制链接]
查看11 | 回复1 | 2013-7-30 01:18:04 | 显示全部楼层 |阅读模式
sql="select top 8 [title],file_path,[image] from [article] where ArticleType=2 and id"&a_id&" and view_yes=1 order by [time] desc"改为sql="select top 8 [title],file_path,[image] from [article] where ArticleType=2 and stype=1 and id"&a_id&" and view_yes=1 order by [time] desc"其中stype=1是你的A产品分类的字段和ID值...
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行