So, you are an artist. Isn't it? :)
Your query is actually a string.
This is your string: INSERT into table values(a,b,c,d)
You must change your string to actually use values
of tha a, b...
You can make this string with sprintf
sprintf(string, "INSERT into table
values(%d,%d,%d,%d)", a, b, c, d);
Then you launch:
res=PQexecute(Conn, string);
Why don't you use PHP? Is easier.
Have a nice day
|
- [SQL] marcello miorelli
- [SQL] Vishal Charan (IT Fiji)
- Re: [SQL] Jan Wieck
- [SQL] ronald
- Re: [SQL] Louise Cofield
- [SQL] ronald
- [SQL] Andreas Heissenberger
- [SQL] sundaresan raman
- Re: [SQL] A.Bhuvaneswaran
- [SQL] MUKTA
- Re: [SQL] email
- [SQL] MUKTA
- Re: [SQL] Richard Huxton
- [SQL] Prashanthi Muthyala
- [SQL] Theo Galanakis