Solved

problem with search facility

Posted on 2008-06-25
24
334 Views
Last Modified: 2011-10-19
Hello, we have a website www.encasabaleares.com  

The problem is there is a search facility, which works....but when a visitor clicks on an island search to get all properties listed, the search facility although still there, the drop downs disappeear.

Then if you click search a the results appear and the drop downs re-appear...It is all very confusing my developer is telling me one thing.  And someone else is telling me something else, which is even more frustrating

So although it works, the drop down functionality sometimes stops working.... Currently the drop downs are not working on the homepage...but working on other pages...
0
Comment
Question by:wood1e
  • 15
  • 9
24 Comments
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
I've looked at the page and the problem seems only occurred if using Firefox. If using Internet Explorer, the drop downs for Island will not disappear. I've check the source and if you go to line 107 there is tag
<label for="property">

At line 128, it seems words property is being used as id for Property drop down box
<select name="searchtype" class="select1" id="property" style="width: 100px;">

That's why when you click at Island drop down, the drop down will disappear and focus will go to Property drop down. When I change the name for the label tag to others name, the drop down is not disappearing.
0
 

Author Comment

by:wood1e
Comment Utility
Well thats reasonably good news then...as the drop downs are not showing for me in either IE or FF...well unless I do a general search..maybe the pages are cached on my laptop.  I will have a look thanks.. :)
0
 

Author Comment

by:wood1e
Comment Utility
oooppsss now I am not sure what you mean...change the label to the others, what others?
0
 

Author Comment

by:wood1e
Comment Utility
ps and which file?
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
You look at your code and search for this

<label for="property">

Then try to change the property to other name, eg.

<label for="property1">

What is the result?
0
 

Author Comment

by:wood1e
Comment Utility
I have changed file inc_indessearch.php line 136 to 139 to

<label for="property1">
<select name="searchisland" class="select1" style='width:100px;'>
</select>
</label>

It has made no difference...the drop downs are still not there on the homepage, and only there when i move away from the homepage.
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
At the main page, there is no data at Island, Region and Town drop down but the data exist in the page after SEARCH button is clicked. Do you want these data to be appear in main page also? Maybe there is a code different between main page and 2nd page. Can you attach the code of this 2 pages?
0
 

Author Comment

by:wood1e
Comment Utility
It would be too long to paste....pick any page from the homepage and you will see the drop downs appear...or in part appear, as sometimes the island drop will work (show islands) but the other dorp initially won't until you select one of the islands...then the town region drop down will appear...

I don't know what you mean by

"At the main page, there is no data at Island, Region and Town drop down but the data exist in the page after SEARCH button is clicked. Do you want these data to be appear in main page also? "

The whole search area is inserted with php, as is the top element of the webpage, logo etc
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
I think I know how to solve your problem, this is due to some of Javascript function in search.php page not exist in home page like function searchInitSelect, function searchsetOptionText, etc... and also at drop down box code eg. searchisland, there is onchange tag in search.php page but not in home page, and also the value is not there.

search.php page -->

<select name="searchisland" class="select1" style="width: 100px;" onchange="searchOnSelectisland(document.searchForm.searchisland,document.searchForm.searchregion,document.searchForm.searchtown)">
<option value="all">All</option>
<option value="3">Ibiza</option>
<option value="1">Mallorca</option>
<option value="2">Menorca</option>
</select>

home page -->

<select name="searchisland" class="select1" style="width: 100px;">
</select>


Maybe you can renaming the file it to text file (eg. search.txt) and attach here, not paste it, for all related file (home, search, include file, etc). I will check the problem for you.
0
 

Author Comment

by:wood1e
Comment Utility
many thanks...the inc_indexsearch file is the one I have changed the label name so that may need changing back again... :)  Many thanks for your help
inc-indexsearch.txt
indx.txt
search.txt
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
In file search.php at line 93, you have include file inc_search.php

<?php include("inc_search.php");?>

Can you attach this file also?
0
 

Author Comment

by:wood1e
Comment Utility
apologise
inc-search.txt
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 6

Accepted Solution

by:
psychic_zero earned 500 total points
Comment Utility
This is my summary:

File inc_indexsearch.php and inc_search.php should have same code as they have to serve same function.  

In inc_search.php file, you have this Javascript function code from line 105 to 224 but this code doesn't exist in inc_indexsearch.php.

In inc_search.php line 259,
<select name="searchisland" class="select1" style='width:100px;' onChange="searchOnSelectisland(document.searchForm.searchisland,document.searchForm.searchregion,document.searchForm.searchtown)">

line 267,
<select name="searchregion" class="select1" style='width:100px;' onChange="searchOnSelectregion(document.searchForm.searchisland,document.searchForm.searchregion,document.searchForm.searchtown)">

These are differ with file inc_indexsearch.php for these code which they don't have onChange code.
<select name="searchisland" class="select1" style='width:100px;'>
<select name="searchregion" class="select1" style='width:100px;'>

These are the different which I can spotted. Maybe if you can adjust inc_indexsearch.php file to be same inc_search.php file it should be OK.

Or maybe you can try to change at index.php code at line 39, change
<?php include("inc_indexsearch.php");?> to <?php include("inc_search.php");?>
and see what happen.

Hope this help.
0
 

Author Comment

by:wood1e
Comment Utility
Hi,, for ease i tried changing the index.php page  and now i seem to get the drop downs appear.  The one problem left is that although the island drop down seems to appear all the time the region and town ones do not...well not until I have selected an island..  

Could you just have a look at that...or is it part of the onchnge you mentioned?  Maybe I should add the onchange as you mentioned initially...

Unfortunatly I am going in a meeting so will try later... :)
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
For this I have to study the Javascript function but It may took some time. I also want to going back home now so later I will check back.
0
 

Author Comment

by:wood1e
Comment Utility
Hi,

I have added
"
onChange="searchOnSelectregion(document.searchForm.searchisland,document.searchForm.searchregion,document.searchForm.searchtown)">
"
to all available code, so the two files should match up in terms of onchange.  But the problem although not as bad is still there.
But for example i move around the website and the island will be there, as will the region, but the town will not.  

At least now all three drop downs are appearing more often than not.

So if you could have a look at the javascript that would be great :)  I have attached the files that I have changed.
inc-indexsearch.txt
inc-search.txt
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
I have do some changes to add javascript in inc_indexsearch.php file and minor changes in inc_search.php by changing property label name.

For region and town to view all every time, the database query need to be revised so that the final output for the javascript will be as shown below.

I think your database query and function reside on PropertySQL.inc.php file as you have call it in index.php page on line 3 - require("./PropertySQL.inc.php");
// Current Output
 
 

var searchregion0 = new Array('All')

...

var searchregionid0 = new Array('all')

...

var searchregion0searchtown0 = new Array('All')

...

var searchregion1searchtown0 = new Array('All')

...

var searchregion2searchtown0 = new Array('All')

...

var searchregion3searchtown0 = new Array('All')

...

var searchregionid0searchtownid0 = new Array('all')

...

var searchregionid1searchtownid0 = new Array('all')

...

var searchregionid2searchtownid0 = new Array('all')

...

var searchregionid3searchtownid0 = new Array('all')
 
 

// New Output which to view All region and Town
 

var searchregion0 = new Array('All','Formentera','Ibiza','Santa Antonio','Santa Eulalia','Santa Jose','Santa Juan','Central','East','North','North West','Palma','South','South West','Menorca')

...

var searchregionid0 = new Array('all','13','14','15','17','16','6','1','2','8','12','11','10','9','18')

...

var searchregion0searchtown0 = new Array('All','Formentera','Atzaro','Cala Conta','Can Rimbau','Eivissa','Ibiza Town','Las Salinas','Punta Blanca','Talamaca','Benimussa','Cala Codolar','San Agustin','San Antonio','Cala Bassa','Cala Carbo','Cala Tarida','Cala Vadella','Can Font','Es Codolar','Es Cubells','Port Des Torrent','San Jose','San Lorenzo','San Miguel','Santa Jodi','Benirras','Cala San Vincente','San Juan','San Mateo','Alaro','Algaida','Ariany','Biniali','Binigual','Binissalem','Caimari','Campanet','Cas Concos','Caulls','Consell','Costitx','Es Garrovers','Es Garrovers','Inca','La Gruta','Lloret de Vista Alegre','Lloseta','Llubi','Mancor de la Vall','Maria de la Salut','Marratxi','Montuiri','Moscari','Pere Garau','Petra','Pina','Portol','Puntiro','Randa','Ruberts','S Indioteria','Sa Cabeneta','Sant Joan','Sant Llorenc','Santa Eugenia','Santa Magdalena','Santa Maria','Santa Maria Del Cami','Selva','Sencelles','Sineu','Son Ametler','Son Marsal','Son Moix','Villafranca de Bonany','Alqueria Blanca','Arta','Betlem','Cala Anguila','Cala Bona','Cala d Or','Cala Domingos','Cala Egos','Cala Ferrera','Cala Figuera','Cala Llombards','Cala Magrana','Cala Mandia','Cala Mesquida','Cala Millor','Cala Morlanda','Cala Murada','Cala Ratjada','Cala Romantica','Cala Santanyi','Cala Serena','Calas de Mallorca','Calonge','Canyamel','Capdepera','Cas Concos','Col San Pedro','Colonia de Sant Pere','Costa de Canyamel','Costa de los Pinos','Es Carritxo','Felanitx','Font de sa Cala','Golf Vall DOr','Llombarts','Manacor','Playa Romantica','Port Nou','Port Vell','Port Verd','Porto Colom','Porto Cristo','Porto Cristo Novo','Porto Petro','Pula','S Amarador','S Esglaieta','S Estanyol','S Horta','S illot','Sa Coma','Sa Gruta','Sant Llorenc','Sant Llorenc de Cardassar','Santanyi','Son Carrio','Son Jordi','Son Macia','Son Serra de Marina','Son Servera','Alcanada','Alcudia','Aucanada','Bonaire','Boquer','Buger','Cala Sant Vincenc','Can Picafort','Crestatx','Formentor','Gommar','Llenaire','Mal Pas','Muro','Playa de Muro','Pollenca','Port de Alcudia','Port de Pollenca','S Ubach','Sa Plana','Sa Pobla','Santa Margalida','Siller','Son Ferrers','Son Oriolet','Son Toni','Banyalbufar','Biniaraix','Bunyola','Cala Tuent','Deia','Escorca','Esporles','Estellencs','Fornalutx','Orient','Palmanyola','Port de Soller','Soller','Valldemossa','31 de Diciembre','Arabella Park','Aragon','Baleares','Bonanova','Borne','Cala Gamba','Cala Mayor','Can Valero','Cas Captia','Cas Catala','Casco Antiguo','City Centre','Coll den Rabassa','Cruz Roja','Ctra Valldemosa','Cuitat Jardin','El Terreno','Es Forti','Es Molinar','Eusebio Estrada','General Riera','Genova','Gomila','Honderos','Industria','Joan Alcover','La Lotja','La Vileta','Las Ramblas','Marivent','Otras','Palma','Palma Old Town','Paseo Mallorca','Paseo Maritimo','Plaza de Toros','Plaza Flamingo','Policlinica Miramar','Portixol','Porto Pi','Puntiro','Rafal Nou','S Ostalot','San Agustin','Sant Agusti','Sant Jordi','Santa Catalina','Secar de la Real','Son Armadans','Son Cladera','Son Dameto','Son Dureta','Son Espanyolet','Son Ferrer','Son Ferriol','Son Flo','Son Rapinya','Son Sant Joan','Son Sardina','Son Vida','Son Xigala','Teyes Catolicos','Zona Tenis','Bahia Azul','Bahia Grande','Bella Vista','Cala Blava','Cala Pi','Campos','Can Pastilla','Colonia Sant Jordi','Es Trenc','Las Palmeras','Llucmajor','Maioris','Maioris Decima','Playa de Palma','Porreres','Puig de Ros','S Aranjassa','S Arenal','Sa Rapita','Sa Torre','Ses Salines','Son Veri Nou','Son Veri Vell','Tolleric','Vallgornera','Anchorage Hill','Andratx','Bendinat','Cala Fornells','Cala Llamp','Cala Vias','Cala Vinyes','Calvia','Camp de Mar','Capdella','Cas Catala','Costa de la Calma','Costa Den Blanes','El Toro','Establiments','Galilea','Illetas','La Mola','Magalluf','Nova Santa Ponsa','Paguera','Palma Nova','Port Adriano','Port Andratx','Portals Nous','Portals Vells','Puerto Portals','Puigpunyent','Punta Negra','s Arraco','Sa Porrassa','Sa Vinya de Bendinat','Sant Elm','Santa Ponsa','Santa Ponsa Nova','Sol de Mallorca','Son Caliu','Son Font','Torrenova','Addaya','Alayor','Alcaufar','Arenal','Argentina','Biniancollet','Biniancollet','Biniarroca','Binibeca','Binibeca Nou','Binibeca Playa','Binibeca Vell','Binicalaf','Binidali','Binifadet','Biniparrel','Binisafua','Binisafua','Binisaida','Binisfua Playa','Binisfua Rotters','Binixica','Cala Blanca','Cala Canutells','Cala Clemente','Cala Coves','Cala Fonduco','Cala Galdana','Cala Jaime','Cala Llonga','Cala Luis','Cala Mezquida','Cala Morell','Cala Partio','Cala Piques','Cala Rata','Cala San Esteban','Cala Tirant','Cala Torret','Calan Blanes','Calan Bosch','Calan Porter','Cales Coves','Cales Piques','Cap Dartruix','Cap Den Font','Capifort','Coves Noves','Cuitadella','Es Castell','Es Grau','Es Migjorn Gran','Ferrerias','Forma Nou','Fornells','Fornells Playa','La Caleta','Llumessanes','Los Delfines','Macaret','Mahon','Mahon Malbuger','Mahon Puerto','Mercadal','Pou Nou','Punta Grossa','Punta Prima','Sa Farola','Sa Roca','Salgar','San Antonio','San Clemente','San Clemente','San Jaime','San Luis','Sant Lluis','Santa Ana','Santandria','Santo Tomas','Satalaya','Serra Morena','Ses Salines','Ses tanques','Ses Tanques','Shangri-La','Sol Del Este','Son Blanc','Son Bou','Son Carrio','Son Ganxo-Son Remei','Son Granxo','Son Oleo','Son Parc','Son Remei','Son Tomeo','Son Vilar','Son Vitamina','Son Xoriguer','Suestra','Torre Soli Nou','Torrest De Baix','Torret','Trebaluger','Trepuco')

...

var searchregion1searchtown0 = new Array('All','Formentera','Atzaro','Cala Conta','Can Rimbau','Eivissa','Ibiza Town','Las Salinas','Punta Blanca','Talamaca','Benimussa','Cala Codolar','San Agustin','San Antonio','Cala Bassa','Cala Carbo','Cala Tarida','Cala Vadella','Can Font','Es Codolar','Es Cubells','Port Des Torrent','San Jose','San Lorenzo','San Miguel','Santa Jodi','Benirras','Cala San Vincente','San Juan','San Mateo')

...

var searchregion2searchtown0 = new Array('All','Alaro','Algaida','Ariany','Biniali','Binigual','Binissalem','Caimari','Campanet','Cas Concos','Caulls','Consell','Costitx','Es Garrovers','Es Garrovers','Inca','La Gruta','Lloret de Vista Alegre','Lloseta','Llubi','Mancor de la Vall','Maria de la Salut','Marratxi','Montuiri','Moscari','Pere Garau','Petra','Pina','Portol','Puntiro','Randa','Ruberts','S Indioteria','Sa Cabeneta','Sant Joan','Sant Llorenc','Santa Eugenia','Santa Magdalena','Santa Maria','Santa Maria Del Cami','Selva','Sencelles','Sineu','Son Ametler','Son Marsal','Son Moix','Villafranca de Bonany','Alqueria Blanca','Arta','Betlem','Cala Anguila','Cala Bona','Cala d Or','Cala Domingos','Cala Egos','Cala Ferrera','Cala Figuera','Cala Llombards','Cala Magrana','Cala Mandia','Cala Mesquida','Cala Millor','Cala Morlanda','Cala Murada','Cala Ratjada','Cala Romantica','Cala Santanyi','Cala Serena','Calas de Mallorca','Calonge','Canyamel','Capdepera','Cas Concos','Col San Pedro','Colonia de Sant Pere','Costa de Canyamel','Costa de los Pinos','Es Carritxo','Felanitx','Font de sa Cala','Golf Vall DOr','Llombarts','Manacor','Playa Romantica','Port Nou','Port Vell','Port Verd','Porto Colom','Porto Cristo','Porto Cristo Novo','Porto Petro','Pula','S Amarador','S Esglaieta','S Estanyol','S Horta','S illot','Sa Coma','Sa Gruta','Sant Llorenc','Sant Llorenc de Cardassar','Santanyi','Son Carrio','Son Jordi','Son Macia','Son Serra de Marina','Son Servera','Alcanada','Alcudia','Aucanada','Bonaire','Boquer','Buger','Cala Sant Vincenc','Can Picafort','Crestatx','Formentor','Gommar','Llenaire','Mal Pas','Muro','Playa de Muro','Pollenca','Port de Alcudia','Port de Pollenca','S Ubach','Sa Plana','Sa Pobla','Santa Margalida','Siller','Son Ferrers','Son Oriolet','Son Toni','Banyalbufar','Biniaraix','Bunyola','Cala Tuent','Deia','Escorca','Esporles','Estellencs','Fornalutx','Orient','Palmanyola','Port de Soller','Soller','Valldemossa','31 de Diciembre','Arabella Park','Aragon','Baleares','Bonanova','Borne','Cala Gamba','Cala Mayor','Can Valero','Cas Captia','Cas Catala','Casco Antiguo','City Centre','Coll den Rabassa','Cruz Roja','Ctra Valldemosa','Cuitat Jardin','El Terreno','Es Forti','Es Molinar','Eusebio Estrada','General Riera','Genova','Gomila','Honderos','Industria','Joan Alcover','La Lotja','La Vileta','Las Ramblas','Marivent','Otras','Palma','Palma Old Town','Paseo Mallorca','Paseo Maritimo','Plaza de Toros','Plaza Flamingo','Policlinica Miramar','Portixol','Porto Pi','Puntiro','Rafal Nou','S Ostalot','San Agustin','Sant Agusti','Sant Jordi','Santa Catalina','Secar de la Real','Son Armadans','Son Cladera','Son Dameto','Son Dureta','Son Espanyolet','Son Ferrer','Son Ferriol','Son Flo','Son Rapinya','Son Sant Joan','Son Sardina','Son Vida','Son Xigala','Teyes Catolicos','Zona Tenis','Bahia Azul','Bahia Grande','Bella Vista','Cala Blava','Cala Pi','Campos','Can Pastilla','Colonia Sant Jordi','Es Trenc','Las Palmeras','Llucmajor','Maioris','Maioris Decima','Playa de Palma','Porreres','Puig de Ros','S Aranjassa','S Arenal','Sa Rapita','Sa Torre','Ses Salines','Son Veri Nou','Son Veri Vell','Tolleric','Vallgornera','Anchorage Hill','Andratx','Bendinat','Cala Fornells','Cala Llamp','Cala Vias','Cala Vinyes','Calvia','Camp de Mar','Capdella','Cas Catala','Costa de la Calma','Costa Den Blanes','El Toro','Establiments','Galilea','Illetas','La Mola','Magalluf','Nova Santa Ponsa','Paguera','Palma Nova','Port Adriano','Port Andratx','Portals Nous','Portals Vells','Puerto Portals','Puigpunyent','Punta Negra','s Arraco','Sa Porrassa','Sa Vinya de Bendinat','Sant Elm','Santa Ponsa','Santa Ponsa Nova','Sol de Mallorca','Son Caliu','Son Font','Torrenova')

...

var searchregion3searchtown0 = new Array('All','Addaya','Alayor','Alcaufar','Arenal','Argentina','Biniancollet','Biniancollet','Biniarroca','Binibeca','Binibeca Nou','Binibeca Playa','Binibeca Vell','Binicalaf','Binidali','Binifadet','Biniparrel','Binisafua','Binisafua','Binisaida','Binisfua Playa','Binisfua Rotters','Binixica','Cala Blanca','Cala Canutells','Cala Clemente','Cala Coves','Cala Fonduco','Cala Galdana','Cala Jaime','Cala Llonga','Cala Luis','Cala Mezquida','Cala Morell','Cala Partio','Cala Piques','Cala Rata','Cala San Esteban','Cala Tirant','Cala Torret','Calan Blanes','Calan Bosch','Calan Porter','Cales Coves','Cales Piques','Cap Dartruix','Cap Den Font','Capifort','Coves Noves','Cuitadella','Es Castell','Es Grau','Es Migjorn Gran','Ferrerias','Forma Nou','Fornells','Fornells Playa','La Caleta','Llumessanes','Los Delfines','Macaret','Mahon','Mahon Malbuger','Mahon Puerto','Mercadal','Pou Nou','Punta Grossa','Punta Prima','Sa Farola','Sa Roca','Salgar','San Antonio','San Clemente','San Clemente','San Jaime','San Luis','Sant Lluis','Santa Ana','Santandria','Santo Tomas','Satalaya','Serra Morena','Ses Salines','Ses tanques','Ses Tanques','Shangri-La','Sol Del Este','Son Blanc','Son Bou','Son Carrio','Son Ganxo-Son Remei','Son Granxo','Son Oleo','Son Parc','Son Remei','Son Tomeo','Son Vilar','Son Vitamina','Son Xoriguer','Suestra','Torre Soli Nou','Torrest De Baix','Torret','Trebaluger','Trepuco')

...

var searchregionid0searchtownid0 = new Array('all','218','219','220','221','222','223','224','225','227','228','229','230','231','236','232','233','234','235','237','238','239','240','242','243','244','245','246','247','248','249','250','251','252','253','254','255','256','257','259','258','10','260','415','38','39','40','41','387','43','44','196','197','198','55','200','56','366','202','203','204','205','54','206','57','208','209','210','211','212','213','214','379','215','424','371','53','376','351','352','385','375','1','2','100','102','101','103','104','105','106','393','107','108','394','429','109','110','111','112','113','350','114','115','116','117','118','119','120','121','368','122','369','131','123','124','125','126','373','127','128','129','130','132','395','396','449','133','3','4','59','60','355','61','356','357','62','405','63','358','64','418','65','360','66','361','67','68','419','69','70','71','72','73','389','74','383','75','420','76','77','422','78','79','80','81','406','82','83','85','390','84','86','88','91','92','93','94','87','391','89','90','359','95','96','97','98','99','349','11','416','13','397','14','15','16','346','19','404','437','20','21','22','23','24','25','348','26','27','28','445','448','388','347','134','135','136','137','138','139','140','141','142','143','144','145','146','147','427','148','386','384','46','417','149','150','151','392','382','152','164','153','399','428','154','155','156','365','400','430','157','158','431','432','433','52','434','436','160','49','425','367','439','165','401','440','441','166','167','442','443','179','370','50','372','169','170','171','446','172','173','174','378','175','354','176','177','374','178','402','444','450','29','30','31','32','33','34','35','36','37','181','182','423','183','184','185','186','189','190','187','188','191','192','193','194','195','261','262','263','264','265','451','407','266','267','268','269','270','271','272','273','274','452','408','277','275','276','278','279','280','290','298','283','284','292','285','293','287','286','288','299','409','289','291','295','453','296','297','454','455','300','301','302','304','303','305','306','307','308','309','310','311','312','313','314','315','281','282','316','317','318','319','320','456','321','322','323','411','457','458','459','412','294','324','325','326','327','460','413','461','462','328','329','330','331','414','332','333','334','335','336','337','338','339','340','341','343','342','344','345')

...

var searchregionid1searchtownid0 = new Array('all','218','219','220','221','222','223','224','225','227','228','229','230','231','236','232','233','234','235','237','238','239','240','242','243','244','245','246','247','248','249','250','251','252','253','254','255','256','257','259','258','10','260','415','38','39','40','41','387','43','44','196','197','198','55','200','56','366','202','203','204','205','54','206','57','208','209','210','211','212','213','214','379','215','424','371','53','376','351','352','385','375')

...

var searchregionid2searchtownid0 = new Array('all','1','2','100','102','101','103','104','105','106','393','107','108','394','429','109','110','111','112','113','350','114','115','116','117','118','119','120','121','368','122','369','131','123','124','125','126','373','127','128','129','130','132','395','396','449','133','3','4','59','60','355','61','356','357','62','405','63','358','64','418','65','360','66','361','67','68','419','69','70','71','72','73','389','74','383','75','420','76','77','422','78','79','80','81','406','82','83','85','390','84','86','88','91','92','93','94','87','391','89','90','359','95','96','97','98','99','349','11','416','13','397','14','15','16','346','19','404','437','20','21','22','23','24','25','348','26','27','28','445','448','388','347','134','135','136','137','138','139','140','141','142','143','144','145','146','147','427','148','386','384','46','417','149','150','151','392','382','152','164','153','399','428','154','155','156','365','400','430','157','158','431','432','433','52','434','436','160','49','425','367','439','165','401','440','441','166','167','442','443','179','370','50','372','169','170','171','446','172','173','174','378','175','354','176','177','374','178','402','444','450','29','30','31','32','33','34','35','36','37','181','182','423','183','184','185','186','189','190','187','188','191','192','193','194','195')

...

var searchregionid3searchtownid0 = new Array('all','261','262','263','264','265','451','407','266','267','268','269','270','271','272','273','274','452','408','277','275','276','278','279','280','290','298','283','284','292','285','293','287','286','288','299','409','289','291','295','453','296','297','454','455','300','301','302','304','303','305','306','307','308','309','310','311','312','313','314','315','281','282','316','317','318','319','320','456','321','322','323','411','457','458','459','412','294','324','325','326','327','460','413','461','462','328','329','330','331','414','332','333','334','335','336','337','338','339','340','341','343','342','344','345')

Open in new window

inc-indexsearch.txt
inc-search.txt
0
 

Author Comment

by:wood1e
Comment Utility
HEy that looks great, I am going to have to test later as out of the office shortly..

The files you have attahced, are they to replace my current files?  And should I copy and paste the code you have above into PropertySQL.inc.php ?

Cheers :)
0
 
LVL 6

Expert Comment

by:psychic_zero
Comment Utility
You can replace your current files with mine. The code I shown above is just for explanation, maybe you can attach the PropertySQL.inc.php and see what I can do.
0
 

Author Comment

by:wood1e
Comment Utility
That would be great...As I am a bit useless with this part of it...right now off out...again!!!
PropertySQL.inc.txt
0
 

Author Comment

by:wood1e
Comment Utility
Hi,

I have uploaded the to new files, many thanks for that there appears to be some improvement, which is fantastic :) Look forward to recieving feedback on other file...havea  great day
0
 

Author Comment

by:wood1e
Comment Utility
Hello...I feel really bad asking but were you able to find anything in the SQL file? :)
0
 

Author Comment

by:wood1e
Comment Utility
Hey, totally understnad if you haven;t had time to help further, if you can't help, can you let me know so I can repost...You have been a great help so far :)
0
 

Author Comment

by:wood1e
Comment Utility
Oopps I clicked on my question in error...!!!  I have awarded points, as psychic_zero was of great help
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now