sembrava chiaro
cmq ok reset completo .. allora inziamo per passi ho questo codice:
Codice PHP:
<%
struttura=Request.querystring("tipos")
if struttura = "" then
struttura=(",2,13,14,23,19,21,3,")
else
struttura = (","&struttura&",")
end if
%>
"SELECT * FROM hotel_es AS h, tipo_strutture AS t WHERE "&_
"h.id = t.hotel_id and h.city_hotel like'"&replace(nomecitta,"'","''")&"%' and t.hoteltype_id= '14' order by h.minrate asc,h.id"
il codice funziona così come l'ho messo .. io vorrei sostituire t.hoteltype_id= '14' in questo modo:
t.hoteltype_id contiene i numeri presenti in 'struttura'
'struttura' è una variabile passata tramite quesrystring formata in questo modo es: 2,13,14
non so se mi sono spiegato ..