ecco il mio codice:
Codice PHP:
<%
Option Explicit
'Response.buffer = true
'
mostra un singolo feedback
%>
<
html>

<
head>
<
meta http-equiv="Content-Language" content="it">
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<
title>Nuova pagina 1</title>
</
head>

<
body>





[
url="2006_12_10_rapallo.asp?categoria=uomini"]Uomini[/url]</p>


<
a href="2006_12_10_rapallo.asp?categoria=donne">Donne</p>

<%
Dim objConnstrConnstrsqlobjRsconta
Dim posizione
giocatorecategoriaclubugirodgirotgirotot
'If session("login") then

categoria = Request.Querystring("categoria")
strconn= Application("dbconn")

strsql = "select * from tbl_20061210_rapallo where categoria = '" & categoria & "' order by tot"
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open strConn
Set objRs = Server.CreateObject("ADODB.Recordset")
set objRS = objConn.Execute(strsql)
Response.write "<table border='
0' width='80%' cellpadding='2' cellspacing='2'>"

conta=0
do while Not objRs.EOF
conta=conta+1


giocatore = objRs("giocatore")
club = objRs("club")
ugiro = objRs("ugiro")
dgiro = objRs("dgiro")
tgiro = objRs("tgiro")
tot = CInt(ugiro+dgiro+tgiro)

Response.Write "<table border='
1' width='95%' cellpadding='2' cellspacing='1' bgcolor='@f5deb3'>"
Response.write "<tr>"
Response.Write "<td width='
5%'><font color=red>" & conta & "</font></td>"
Response.write "<td width='
30%'><font color=midnightblue>" & giocatore & "</font></td>"
Response.write "<td width='
30%'><font color=midnightblue>" & club & "</font></td>"
Response.write "<td width='
10%' align=right><font color=red>" & ugiro & "</font></td>"
Response.write "<td width='
10%' align=right><font color=red>" & dgiro & "</font></td>"
Response.write "<td width='
10%' align=right><font color=red>" & tgiro & "</font></td>"
Response.write "<td width='
10%' align=right><font color=red>" & tot & "</font></td>"

Response.Write "</tr>"
Response.Write "<tr>"

objRs.MoveNext
Loop


Sub niente_chiave()
'
mostra un messaggio ben formattato
Response
.write "<table border='0' width='80%' cellpadding='2' cellspacing='2'>"
Response.Write "<tr><td>"
Response.write "Mi dispiace ma questo è il mio ufficio.
"
Response.write "Costruisciti il tuo!
"
Response.write "</td></tr>"
Response.write "<tr>td><a href='Javascript:history.back()>Torna indietro</a></td></tr>"
Response.write "</table>"
end sub

%>

</
body>
</
html
Ho provato a fare order by tot ma mi da errore