Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Show country image "Y" based on countryID selection X

Guest
Mar 06, 2010 Mar 06, 2010

Hi there,

On my web page, I have a list of "countries" on the left using cfquery output, and on the right I want to show the image of that country maybe in a table object. but how do I know which country the user chose from the list on the left so that I can do an sql query "display x where countryID=y"?

thanks a lot

305
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 06, 2010 Mar 06, 2010

Use url variables.  Look at the address bar in your browser for an example.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 06, 2010 Mar 06, 2010
LATEST

thanks Dan,

Yes I am working on that. but I am following Bob Flynn's book (DW CS3: Trainign from the Source) where he shows

you how to show a country image on the right of a web page, having selected a country from the list on the left (all on the same page). He is using spry widgets based on an XML datasheet. However, he is basing all this on CS3 (I use CS4) and the DW Application developers Toolkit which makes creating the datasheet easy. In CS4 i can't seem to get the XML datasheet to dynamically update properly.

Any ideas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources