Win Or Loss

I am using the code below to try and find wether one value is bigger than another. I am having problems because when I put this code into the page it doesnt work at all:

Code:

<%
if rsFixture("HomeTeamID") = Request.QueryString("tid") and rsFixture("HomeTeamID") < rsFixture("AwayTeamID") then
response.Write("Loss")

else if rsFixture("AwayTeamID") = Request.QueryString("tid") and rsFixture("HomeTeamID") < rsFixture("AwayTeamID") then
response.Write("Won")

end if
end if %>

View Replies


ADVERTISEMENT

Data Loss On Uploading A Database

I'm using an access database that gets information from a web form using ASP. The problem is that is when I want to update the database (fields for example)

I have to download the database, update it and then upload it again and that causes the data entered (and not included in the database which I downloaded) to be lost when I upload the database that is on my system. Is there a way to solve this problem?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved