Back to the month index |
Back to the list index
|
Art Matheny (matheny@usf.edu)
Thu, 24 Apr 1997 12:57:21 -0400 (EDT)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: igor@digex.net: "Re: [mSQL] C API for mSQL"
- Previous message: Oscar Santos: "Re: [mSQL] Automatic field identifier?"
- In reply to: Michel BLANC: "Re: [mSQL] Automatic field identifier?"
- Next in thread: Neville Man: "Re: [mSQL] C API for mSQL"
- Reply: Neville Man: "Re: [mSQL] C API for mSQL"
Date: Thu, 24 Apr 1997 12:57:21 -0400 (EDT) From: Art Matheny <matheny@usf.edu> Subject: Re: [mSQL] C API for mSQL Message-Id: <Pine.GSO.3.96.970424125137.12878A-100000@curiac>On Thu, 24 Apr 1997, Neville Man wrote:
> msqlQuery(socket,"insert into supplier(%d,'%s','%s','%s')")
>
> can I using this method to pass data to the msqlQuery ???
No. But try this:
char query[1000];
sprintf (query, "insert into supplier values (%d,'%s','%s','%s')",
item1, item2, item3, item4);
msqlQuery (socket, query);
-- -- Art Matheny LIB 612 813-974-1795 FAX: 813-974-1799 -- Academic Computing University of South Florida Tampa, FL 33620 -- matheny@usf.edu http://curiac.acomp.usf.edu/nic/-------------------------------------------------------------------------- To remove yourself from the Mini SQL mailing list send a message containing "unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing "info msql-list" to majordomo@bunyip.com for info on monthly archives of the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!
- Next message: igor@digex.net: "Re: [mSQL] C API for mSQL"
- Previous message: Oscar Santos: "Re: [mSQL] Automatic field identifier?"
- In reply to: Michel BLANC: "Re: [mSQL] Automatic field identifier?"
- Next in thread: Neville Man: "Re: [mSQL] C API for mSQL"
- Reply: Neville Man: "Re: [mSQL] C API for mSQL"