1 #define USE_LIBRARY_MYSQL
8 if(mysql_connect("localhost","root","","pokus"))
10 for_mysql_query_results(row
,"SELECT id,str FROM pokus")
11 printf("id=%s str=%s\n", row
[0], row
[1]);
14 puts("Can't connect to database!");
This page took 0.608283 seconds and 4 git commands to generate.