Learning: connect a web page to a database
- Hello All:
I am just learning how to do this stuff and I am
having some difficulity connecting a web page to a
database. Could someone please look at my code and
advise. I am getting confused by the books.
I created several web pages to register a student for
classes. I have created a three table "access
I have these files all in a folder on my desktop.
I went throught the process of creating a system DNS
as directed by the book.
However I don't think the database.connect() is
correct in my code.
database.connect("ODBC", db2","", "", "");
*****<I'm not sure what goes in the above "
write("The database is not available.");
var SQLString =
"INSERT INTO Registration VALUES('"
+ client.sid + "', '"
+ request.course + "')";
<h2>Backwater University Registration</h2>
write("You are registered for " + request.course);
write(".To register for another course, click
<a href='CourseListing.html'> Course Listing</a>
Or click <a href ='ReviewSchedule.html'>Review
to review your current schedule.");
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more