Names = split (session ("city"), "|") i = 0
Conditions with multiple OR query statements
SQL = "Select * from qizu where field Like '%" & session ("field") & "%' and recrycle = 1 and (" for each name in namessql = SQL "City Like '%" & names (i) & "% 'or "i = i 1Nextsql = left (SQL, LEN (SQL) -4) &") Order By ID DESC