Quote:
Originally sent from rgyankees23 to mendhak
I have nmo idea what that means
Here is the code....
//
<center>2003 New York Yankees Schedule</center>
<table border=1>
<thead>
<tr>
<th>GameID</th>
<th>GameDate</th>
<th>GameTime</th>
<th>TeamA</th>
<th>TeamB</th>
</tr>
</thead>
<%
var adoConnection = Server.CreateObject("ADODB.Connection");
var adoRecordset;
var mySQL;
adoConnection.Open("DSN=2003yankeeschedule");
var mySQL = "Select GameID, GameDate, GameTime, TeamA, TeamB"
adoRecordset = adoConnection.Execute (mySQL);
while ( adoRecordset.Eof == false )
{
%>
<tr>
<td><%=adoRecordset ("GameDate").Value%></td>
<td><%=adoRecordset ("GameTime").Value%></td>
<td><%=adoRecordset ("TeamA").Value%></td>
<td><%=adoRecordset ("TeamB").Value%></td>
</tr>
<%
adoRecordset.MoveNext ();
}
adoRecordset.Close();
adoRecordset = null;
adoConnection.Close ();
adoConnection = null;
%>
</table>
//
OK, the code you have posted will work, only server side, as mentioned before. This means that your server must be configured to support and execute ASP scripts. For this, you need a web server such as PWS or IIS.