Jump to content
Fórum Script Brasil
  • 0

Pesquisa Valor Inicial E Final


gra
 Share

Question

olá!

como faço para colocar em um site de imóveis ouma pesquisa de valor inicial e valor final?

Abaixo parte do código atual:

<%

sql_categ = "SELECT DISTINCT categoria FROM imoveis"

sql_tipo = "SELECT DISTINCT tipo FROM imoveis"

sql_local = "SELECT DISTINCT bairro FROM imoveis"

sql_local = "SELECT DISTINCT bairro FROM imoveis"

sql_local = "SELECT DISTINCT dormitorio FROM imoveis"

Set exe_categ = banco.execute(sql_categ)

Set exe_tipo = banco.execute(sql_tipo)

Set exe_local = banco.execute(sql_local)

Set exe_dormitorio = banco.execute(sql_dormitorio)

%>

<form action="resultados.asp" method="post">

<tr>

<td height="28" align="center" valign="middle"><select name="f_categoria" size="1" class="formindex" id="f_categoria" style="font-family: Arial; font-size: 11">

<option selected>Informe a categoria</option>

<%WHILE NOT exe_categ.eof%>

<%Response.Write "<option>"& exe_categ("categoria") &"</option>"

exe_categ.MOVENEXT : WEND%>

</select></td>

obrigada...

:)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      151k
    • Total Posts
      649k
×
×
  • Create New...