%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% r_count=0 sql= "SELECT id,surname,name,clientemail,phone,location,graduationyear,website,address1,address2,healer_status FROM healers WHERE " & _ " (healer_status LIKE '%" & request("Healer_Status") & "%')" & _ " and (location Like '%" & request("Healer_Region") & "%') " & _ " ORDER BY healer_status DESC,surname ASC" Set rs = Server.CreateObject("ADODB.Recordset") rs.ActiveConnection = objconn rs.CursorType = 0 rs.CursorLocation =3 rs.LockType = 1 rs.Source = (sql) rs.Open() if not rs.eof then r_count = rs.recordcount num_cols = 2 recs_per_col = cint(r_count/ num_cols) end if icount=0 while not rs.eof and r_count > 0 str_td="" if cint(icount) = cint(recs_per_col) then str_td = "
| " & str_list & " |
| Previous Page Listing of Healers |