Hi, i'm trying to insert data pulled into a postgresql database but i'm having some problems with the inserts.
 
i know that this:
sprintf(insert_string, "INSERT INTO udpdata VALUES (1234);\n");
 
is a valid statment, but how do i alter this so that instead of the 1234 i insert the value of a variable?
 
thanks


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.