nome = request.querystring("file")
function SearchFromArray(nome,index)
a=Split(nome, ",")
i=0
for each x in a
If i = index Then
SearchFromArray = x
End If
i = i + 1
sql = "DELETE * FROM ordini WHERE foto = " & x(i)
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 3, 3
next
End Function