?? location.asp
字號:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>gps locations</title>
</head>
<body>
<%
set dbConn=Server.CreateObject("ADODB.Connection")
dbConn.Open("dsn=gps")
set gps1=dbConn.execute("SELECT * from gps")
%>
<%
While not gps1.eof
%>
<%
if gps1(0)=request.form("latitude") and gps1(1)=request.form("longitude") then
%>
<table border="1">
<tr>
<td widht="15"><font face="arial" size="2">latitude:</font></td>
<td width="5"><font face="arial" size="2"><%=gps1("latitude")%></font></td>
</tr>
<tr>
<td widht="15"><font face="arial" size="2">longitude:</font></td>
<td widht="5"><font face="arial" size="2"><%=gps1("longitude")%></font></td>
</tr>
<tr><td widht="15"><font face="arial" size="2">resturants:</font></td>
<td widht="5"><font face="arial" size="2"><%=gps1("resturants")%></font></td>
</tr>
<tr>
<td widht="15"><font face="arial" size="2">hospitals</font></td>
<td widht="5"><font face="arial" size="2"><%=gps1("hospitals")%></font></td>
</tr>
</table>
<%
end if
gps1.MoveNext
Wend
%>
<%
gps1.close
dbConn.close
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -