1 |
|
<%pre> |
2 |
|
#include <tntdb/connect.h> |
3 |
|
#include <tntdb/connection.h> |
4 |
|
#include <tntdb/result.h> |
5 |
|
#include <tntdb/row.h> |
6 |
|
</%pre> |
7 |
|
|
8 |
<%config> |
<%config> |
9 |
dburl; |
dburl; |
10 |
</%config> |
</%config> |
11 |
|
|
12 |
<&header title="Critical systems"> |
<&header title="Critical systems"> |
13 |
</&header> |
</&header> |
14 |
|
<{ |
15 |
|
tntdb::Connection conn; |
16 |
|
|
17 |
|
conn = tntdb::connect(dburl); //letting exceptions flow up and to tntnet and let it display an error message |
18 |
|
|
19 |
<$ dburl $> |
}> |
20 |
|
|
21 |
<&footer> |
<&footer> |
22 |
</&footer> |
</&footer> |