-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Sameer!
>I am using Gtk and Mysql in that i am using combobox for
> insertion into the database.
> There i am getting error gtkcombo have no property named text.
> are there any solutions for this.
> I am also using spin buttons for ins
Hi I am sameer.
I am using Gtk and Mysql in that i am using combobox for insertion into the database.
There i am getting error gtkcombo have no property named text.
are there any solutions for this.
I am also using spin buttons for inserting data.for this also the same error i am gett
On Tue, Oct 17, 2006 at 02:38:31PM +0300, Tor Lillqvist wrote:
>
> > doSQL(conn,"INSERT INTO test(id )VALUES("%s"),p");
>
> How does this even compile?
It cannot, there also undeclared variables (combo),
nonexistent functions (strdup), broken strings, and I'm not
sure if the Sameer/Prathibha un
sameer tandra writes:
> I am Prathibha.
Who is Sameer then?
> doSQL(conn,"INSERT INTO test(id )VALUES("%s"),p");
How does this even compile?
Didn't you read my earlier reply to Sameer's question about the same
issue? Didn't you understand it?
--tml
__
Hi
I am Prathibha.I am using gtk with database as mysql.I have written the c api for connecting to the database.The problem is I need to access the string that is the currently selected option of the combo box.the
null value is entering into database for the combo box.
I am attaching the co
How about something like:
char *sql = g_strdup_printf ("INSERT INTO test(id) VALUES('%s')", p);
doSQL (sql);
g_free (sql);
You also want to check that the user entry is valid and doesn't
contain things like quotes. Otherwise some joker could enter something
like:
'); update person set salary=100
Hi
I am Sameer.I am using gtk with database as mysql.I have written the c api for connecting to the database.The problem is values typed in the entry are not entering to the database.
I am attaching the code which i have done.
please help me.
#include #include #include #include
cha