
gaby:
buscar.asp
Código PHP:
<%
function buscar()
call conectarDB
Dim sSQL, rs
sSQL = "Select sistemas_id, sistemas_nombre, sistemas_linea FROM DS_Sistemas where sistemas_id = '"& sistemas &"'"
rs = cnn.execute(sSQL)
.......
.....
....
call desconectarDB
end function
if request.servervariables("REQUEST_METHOD")="POST" and request.form("metodo")="buscar" then
call buscar()
else
%>
<html>
<body>
<form action="buscar.asp" method="post">
<input type="hidden" value="buscar" name="metodo">
<input name="sistemas" type="text" id="sistemas" value="" size="20" maxlength="20" onChange="buscar()" />
</form>
</body>
</html>
<%end if%>
te serviria esto???