-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Patric,

I don't think there is anyway to do it SQL (you can do a "select *
from hotels WHERE merkale IN ('var1,var2'), but this means your the
form variable merkale would have to be ordered exactly the same as
the vars in the db)... 

However, you could get all the hotels from your DB that match the
other criteria (zipcode, city..) and then loop over the results of
the query and compare the two lists you have to see if they are equal
using a custom tag from the Gallery called <cf_listcompare> available
here
(http://devex.allaire.com/developer/gallery/info.cfm?ID=CA347369-2830-
11D4-AA9700508B94F380&method=Full).

HTH.

Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
<phn>617.350.0339
<fax>617.350.8884
<icq>66172567
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to