• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 56
  • Last Modified:

Follow up on "Enhancing link functionality on geographical entrance page"

Hi,

This is a follow up on this previous question: https://www.experts-exchange.com/questions/29082311/Enhancing-link-functionality-on-geographical-entrance-page.html

It is regarding  this page: https://kroweb.dk/gfdev/arkivalier/canvas3/

When clicking a selection on the map, a county, two lists are displaying beside it. First list shows the shires in the county and the second list displays the parishes in that county.
When clicking a shire in the first list, the number af parishes displayed in the parish list should be limited to the parishes within that particular shire.

This has been working nicely earlier, but now, for some not known reason, it displays 0 (zero) parishes when clicking a shire.

I can't figure out what is going wrong here, so I hope for a little guidance to fox this problem :)
0
Peter Kroman
Asked:
Peter Kroman
  • 2
1 Solution
 
Julian HansenCommented:
What does your query look like on the server that is supposed to be fetching the Parishes?

The request variable being sent to https://kroweb.dk/gfdev/arkivalier/canvas3/getParishes.php
Is
shire	Horns

Open in new window

So I would be expecting to something along the lines of

SELECT * FROM Parishes WHERE shire='Horns';

Open in new window

0
 
Peter KromanSenior Proposal SpecialistAuthor Commented:
Thanks Julian,

The "crook" was that I needed to change $_POST to $_GET in two lines in that file.

It is working nicely now. Thanks for the help.
0
 
Julian HansenCommented:
You are welcome.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now