Connect To Database Server

Now, open the connection by calling:

$dbh = connectToDB();

Keep track of $dbh - it is the handle for the database connection

It will stay active for a single CGI connection, but it doesn’t seem to be worth the trouble to maintain it across sessions

Previous slide Next slide Back to first slide View graphic version