| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Szallár Zsolt | Date: | October 26 2000 11:28am |
| Subject: | variable in the insert into | ||
| View as plain text | |||
Hi, I tried to know it for a long time... I read a SQL reference book, but the following sintax is wrong. char string='anything'; strcpy(query,"insert into table1 values(:string,'any1','any2')"); mysql_query(&handle,query); So I want to insert the 'anything', the 'any1', and 'any2' to the table1. Which the right sintax in mysql? tnx Szor
| Thread | ||
|---|---|---|
| • variable in the insert into | Szallár Zsolt | 26 Oct |
| • Re: variable in the insert into | Tonu Samuel | 26 Oct |
| • Re: variable in the insert into | Szallár Zsolt | 27 Oct |
| • Re: variable in the insert into | Tonu Samuel | 27 Oct |
| • Re: variable in the insert into | Thimble Smith | 27 Oct |
