some work
[svn/Cll1h/.git] / demos / mysql / mysql.c
CommitLineData
04a13a6f 1#define USE_LIBRARY_MYSQL
2#include "cll1.h"
3
4program
5{
6 MYSQL_ROW row;
7
8 if(mysql_connect("localhost","root","","pokus"))
9 {
10 for_mysql_query_results(row,"SELECT id,str FROM pokus")
11 printf("id=%s str=%s\n", row[0], row[1]);
12 }
13 else
14 puts("Can't connect to database!");
15}
This page took 0.40724 seconds and 4 git commands to generate.