l.
-Original Message-
From: john lin [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 25, 2001 2:56 PM
To: [EMAIL PROTECTED]
Subject: inserting into mysql database in linux using C
I am a senior in Polytechnic University working on my
senior project. I have chosen MySQL
I am a senior in Polytechnic University working on my
senior project. I have chosen MySQL to be database in
Red Hat linux 7.0. I writing a program to insert a
value into the database in c language. The data
changes so i have to insert the data as a variable,
but the database reports a error
On Sun, 25 Mar 2001 12:56:15 -0800 (PST), john lin [EMAIL PROTECTED] wrote:
John,
I'm not a 'C' programmer, but I think you need to enclose your VALUE with single
quotes for a literal value: VALUES('test')
Atleast in Perl, it' done that way.
I am a senior in Polytechnic University working
On Sun, Mar 25, 2001 at 12:56:15PM -0800, john lin wrote:
I am a senior in Polytechnic University working on my
senior project. I have chosen MySQL to be database in
Red Hat linux 7.0. I writing a program to insert a
value into the database in c language. The data
changes so i have to