Php Real Estate Script

So to come to the map it self now.......well, the ideal thing to do with the map is when choosing the region and the results update the map should update too to the right region.....I have the regions and their equivalent location to the map
Ayia Napa

there is also a Javascript i put it in the code section below and to show you what i had working before making this whole functional
Its not working dynamically its just the info I gave you above.....
is there a way to make it work?

<script type="text/javascript">
	// Send a message to the map via the map proxy frame, toggling the proxy's
    // size to indicate there is a message ready to be read
    function sendMessageToFrame(message) {
        var elem = top.document.getElementById('mapFrameProxy');
        elem.contentWindow.location = '' + message + '&frame=mapFrame';
        elem.width = elem.width > 50 ? 50 : 100;
    function showArea(areas) {
    	var area = (areas.options[areas.selectedIndex].value);
//    	alert('Show area ' + area);

<select name="city" id="city" onchange="showArea(this)")">
                <option>Select City</option>
                <option value=";ulx=525936&amp;uly=3885248&amp;w=14688&amp;h=8960">Nicosia</option>
                <option value=";ulx=549744&amp;uly=3859640&amp;w=14688&amp;h=8960">Larnaca</option>
                <option value=";ulx=497440&amp;uly=3833144&amp;w=14688&amp;h=8960">Limassol</option>
                <option value=";ulx=440224&amp;uly=3843544&amp;w=14688&amp;h=8960">Paphos</option>
                <option value=";ulx=589811.9510425703&amp;uly=3871441.5857088603&amp;w=2334&amp;h=1508">Ayia Napa</option>

Open in new window

Who is Participating?
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.

What you had before was an onclick event trigger to change the map when a new option was selected.  That is not really going to be an option in your case because we need the page refresh to trigger the queries.  I will have a look at for you tomorrow morning :-)

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
dino_angelidesAuthor Commented:
Ok John, thx a lot!!! :)
also I am including the iframe for the map if that will be helpful!!!
<iframe name="mapFrame" id="mapFrame" frameborder="0" style="position:absolute; left:983; top:500; background:transparent; border:1px solid rgb(191,219,247);"
      src=";locale=el" width="983" height="500"> </iframe>

Open in new window

dino_angelidesAuthor Commented:
I tried adding the channels for the map to the list/menu  but it did not work
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

From novice to tech pro — start learning today.