ho fatto un piccolo passo:
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"
così sembra funzionare ora però vorrei sostituire
t.hoteltype_id='14' con t.hoteltype_id contiene struttura vorre anche fare in modo di fav visualizzare i dati della tabella hotel_es anche se non trova corrispondenze su t.hoteltype_id .. ho provato con left outer join ma ho sempre errori ...
un piccolo aiuto ...