太原卫生信息网:编一简单的查找程序

来源:百度文库 编辑:查人人中国名人网 时间:2024/07/05 20:07:52
利用编号查找物品,利用物品内容查找编号的操作程序

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

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