PClib demo site

Using pclib database layer

(Look at the source code for short tutorial)

TEST-1 db->query()/db->fetch()

HTML table generated by db->export() function:
IDNAMESURNAMEBIRTHDATEPROFESSIONMONEY
3LinusTorvalds1969-12-28 00:00:00bigboss10000000
4JohnCarmack1970-08-20 00:00:00programmer1000000000
5BrianKernighan1942-10-20 00:00:00programmer1000
6DennisRitchie1941-04-03 00:00:00programmer1000

TEST-2 db->select*()

IDNAMESURNAMEBIRTHDATEPROFESSIONMONEY
1BillGates1955-11-28 00:00:00bigboss1000000000000
2SteveJobs1955-02-24 00:00:00bigboss100000000
3LinusTorvalds1969-12-28 00:00:00bigboss10000000
4JohnCarmack1970-08-20 00:00:00programmer1000000000
5BrianKernighan1942-10-20 00:00:00programmer1000
6DennisRitchie1941-04-03 00:00:00programmer1000
Number of rows in last query: 6

Show last executed query

select * from PEOPLE where ID='1' and MONEY>'1000'
Elapsed time: 7.69 ms