Hi! Well I am almost new to everything that deals with db s. My question is it possible to something like this
mysql_query ("LOAD DATA LOCAL INFILE 'c:/php-w-select/Data/$dataset' INTO TABLE $fil fields terminated by ' * ' "); also with SQLite? Next question I used Kate & GCC and tried the ecample #include <stdio.h> #include <sqlite3.h> static int callback(void *NotUsed, int argc, char **argv, char **azColName){ int i; for(i=0; i<argc; i++){ printf("%s = %s\n", azColName[i], argv[i] ? argv[i] : "NULL"); } printf("\n"); return 0; } int main(int argc, char **argv){ sqlite3 *db; char *zErrMsg = 0; int rc; if( argc!=3 ){ fprintf(stderr, "Usage: %s DATABASE SQL-STATEMENT\n", argv[0]); exit(1); } rc = sqlite3_open(argv[1], &db); if( rc ){ fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(db)); sqlite3_close(db); exit(1); } rc = sqlite3_exec(db, argv[2], callback, 0, &zErrMsg); if( rc!=SQLITE_OK ){ fprintf(stderr, "SQL error: %s\n", zErrMsg); sqlite3_free(zErrMsg); } sqlite3_close(db); return 0; }I always get the error undefined controllsequenz in mainsqlite3_open(sqlite3_errmsg(...sqlite3_close(......sqlite3_free(...mhh I just copied the example and typed gcc test.c -o test.regards & many THXmarkus