I'm writing a c program with an mysql database connection and I'm having difficulties creating my mysql queries...
i want to you a variable integer in my mysql query, but i can't seem to get i right...
my current query looks like this...
mysql_query(conn, "INSERT INTO markerherkenning (MARKER_ID, DATETIME) values(1, CURRENT_TIME())");
my marker_ID value should be a variable value, so i can reduce my code...
i have used this guide to get me going... (http://zetcode.com/tutorials/mysqlcapitutorial)
thanks for helping