假设表tables部分字段如下:
varchar 留言者姓名[name]
varchar 回复[reply]
tinyint(1) 是否显示[isshow] 1-显示 0-不显示[默认]1\Select * from tables where name='张三';
2\Select * from tables where name='张三' And (reply IS NOT NULL or reply!='');
3\Delete from tables where isshow='0';
varchar 留言者姓名[name]
varchar 回复[reply]
tinyint(1) 是否显示[isshow] 1-显示 0-不显示[默认]1\Select * from tables where name='张三';
2\Select * from tables where name='张三' And (reply IS NOT NULL or reply!='');
3\Delete from tables where isshow='0';
ni zhen bang !