hi,
the problem is, i'm trying to modify some c script but i'm not originally c
programmer, so c is not my strong side .
the problem is that i have this situation:
/*global*/
/*for sqlite */
sqlite3 *db;
sqlite3_stmt* insert_stmt;
/*finito sqlite*/
// function :
Pr (VoidPtr ptr){
// 3 variables char a1, int a2, float a3->u,
sqlite3_prepare(db, "insert into NRP(a1, a2, a3) values ("----what do i
write here to get values from a1,a2,a3->u into my table-----");",-1,
&insert_stmt, NULL);
sqlite3_bind_int(insert_stmt, 1, 42);
sqlite3_step(insert_stmt);
sqlite3_finalize(insert_stmt);
}
so what i want to do is to insert these three values a1, a2, a3->u into my
columns a1,a2,a3
how do i do that
if there are any more information you need from me just ask
thank you
robert
--
View this message in context:
http://www.nabble.com/problems-with-importing-data-from-c-tp21581675p21581675.html
Sent from the SQLite mailing list archive at Nabble.com.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users