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 :)
Peter KromanSales ExecutiveAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Peter KromanSales ExecutiveAuthor 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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.