Re: writting to already connected database
From: Andrew Murray (SPAMadBUSTERmurray_at_iinet.net.au)
Date: 05/28/04
- Next message: Stefan B Rusynko: "Re: Search Results"
- Previous message: Stefan B Rusynko: "Re: New FP2003 ?"
- In reply to: John: "writting to already connected database"
- Next in thread: Thomas A. Rowe: "Re: writting to already connected database"
- Reply: Thomas A. Rowe: "Re: writting to already connected database"
- Reply: Bob Lehmann: "Re: writting to already connected database"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 May 2004 19:01:39 +0800
first up I wouldn't call the table Logins AND the field within that table
Logins.....that would confuse you and probably the script as well.
for example Select * from Table LOGINS where %Login% LIKE <%Login%>
call the field name logged_users or something more descriptive.
(forgive the incorrect code syntax, but you get the idea....)
"John" <anonymous@discussions.microsoft.com> wrote in message
news:94688D11-EB6A-4E13-BB43-6AF0FFCDCCDF@microsoft.com...
> Hello I am having troubles figuring this out. I have a page with a login
script. the login asp script opens a microsoft database a makes sure that the
username and password submited by a form exsist and that they match. After that
the users are allowed to enter the site. What I would like to do is after the
script verifies that the username and password match have it write those values
to a different table in the same database. The name of the table I want to write
to is "logins" and the name of the column inside the table is "Logins". the
reason I need this is I would like to keep track of who logs on and how often. I
only need an example of how to set the first column to write after that I could
figure how to write to different columns and add new variables to submit
,however, I am having trouble just getting the first step done. I am very new to
asp and just trying to get a grasp on it. The script I am using can be seen on
http://www.indywestwrestling.com/new.txt. thanks for any help or comments. John
- Next message: Stefan B Rusynko: "Re: Search Results"
- Previous message: Stefan B Rusynko: "Re: New FP2003 ?"
- In reply to: John: "writting to already connected database"
- Next in thread: Thomas A. Rowe: "Re: writting to already connected database"
- Reply: Thomas A. Rowe: "Re: writting to already connected database"
- Reply: Bob Lehmann: "Re: writting to already connected database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|