![]() |
Admin 6/25/2007 |
Create a project using Real Estate template. Check ListOnLoad event that does the job. Adjust this event code for your own needs. |
J
|
jeannot30 6/27/2007 |
Create a project using Real Estate template. Check ListOnLoad event that does the job. Adjust this event code for your own needs.
|
![]() |
Admin 6/27/2007 |
This is PHP code posted in ASPRunnerPro forum. |
S
|
sfhussain 8/6/2008 |
This is PHP code posted in ASPRunnerPro forum. What product do you use?
|
J
|
Jane 8/6/2008 |
Create a project using Real Estate template. Check ListOnLoad event that does the job. Adjust this event code for your own needs. |
S
|
sfhussain 8/6/2008 |
Create a project using Real Estate template. Check ListOnLoad event that does the job. Adjust this event code for your own needs.
Set rowsearch = CreateObject("Scripting.Dictionary") Set rstt = server.CreateObject("ADODB.Recordset") rstt.Open "SELECT tblresults.City, Count(tblresults.City) AS CountOfCity, [city] + '('+" & [countofcity] & "+')' AS Cities FROM tblresults GROUP BY tblresults.City", dbConnection ind=0 while not rstt.eof Set rows = CreateObject("Scripting.Dictionary") CityName = Replace(rstt("City")," ","+") rows.add "href","tblresults_list.asp?a=search&value=1&SearchFor=" & CityName& "&SearchOption=Contains&SearchField=City" rows.add "1City_value", rstt("city") & " (" & rstt("countofcity") & ")" rstt.MoveNext rowsearch.add ind,rows ind=ind+1 wend rstt.close smarty.add "rowsearch", rowsearch
|
J
|
Jane 8/7/2008 |
Hi, problem = Replace(rstt("problem")," ","+") |