品牌包装袋:编一简单的查找程序

来源:百度文库 编辑:高校问答 时间:2024/04/28 16:01:01
利用编号查找物品,利用物品内容查找编号的操作程序

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")

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