全自动挤塑板生产线:编一简单的查找程序

来源:百度文库 编辑:中科新闻网 时间:2024/05/12 16:25:15
利用编号查找物品,利用物品内容查找编号的操作程序

search(id,content)
{
if id==null then
{
for item in items
{
if item.content has content then
output item
endif
}
else{
for item in items
{
if item.id==id then
output item
endif
}
}
}

sql="select * form aa where id="&reuqest("id")

这不就是数据库吗?你自己看看数据库就可以了!