| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Sasha Pachev | Date: | April 26 1999 5:24am |
| Subject: | Re: a problem when insert use C | ||
| View as plain text | |||
clock wrote: > > hi all: > I am new users for Mysql CAPI. > A problem when I use "mysql_query" > such as : > > static char kk[]="insert"; > mysql_query(&mysql,"insert into pet (name) values (kk)"); > > but it not insert into db,how to write it ? > > thanks > If I understand your problem correctly, man sprintf. If that does not help, I must have missed something, then explain the problem in more detail. -- Sasha Pachev http://www.sashanet.com
| Thread | ||
|---|---|---|
| • a problem when insert use C | clock | 26 Apr |
| • Re: a problem when insert use C | Sasha Pachev | 26 Apr |
