Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralShare variable into DLL Pin
Raphael Kindt13-Oct-02 5:06
Raphael Kindt13-Oct-02 5:06 
GeneralRe: Share variable into DLL Pin
Stephane Rodriguez.13-Oct-02 5:40
Stephane Rodriguez.13-Oct-02 5:40 
GeneralRe: Share variable into DLL Pin
Joaquín M López Muñoz13-Oct-02 8:48
Joaquín M López Muñoz13-Oct-02 8:48 
GeneralDumb question... Copying derived class from base class pointer Pin
work_to_live13-Oct-02 3:44
work_to_live13-Oct-02 3:44 
GeneralRe: Dumb question... Copying derived class from base class pointer Pin
Nish Nishant13-Oct-02 4:18
sitebuilderNish Nishant13-Oct-02 4:18 
GeneralRe: Dumb question... Copying derived class from base class pointer Pin
Nish Nishant13-Oct-02 4:23
sitebuilderNish Nishant13-Oct-02 4:23 
GeneralRe: Dumb question... Copying derived class from base class pointer Pin
Joaquín M López Muñoz13-Oct-02 4:29
Joaquín M López Muñoz13-Oct-02 4:29 
GeneralMySQL Inserting data Pin
Anonymous13-Oct-02 3:20
Anonymous13-Oct-02 3:20 
Hi, I'm having trouble inserting data into a MySQL table.

char myid[50]="testid";
char myip[50]="testip";
char myname[50]="testname";
char mymessage[50]="testmessage";

mysql_query(&mysql,"INSERT INTO mytable (id, ip, name, message) VALUES('myid','myip','myname','mymessage')")


This should insert the data which my vars contains, but instead it inserts myid myip myname and my mymessage into the table, not the data.
I think my syntax is wrong, since the mysql_query inserts 'myid' and no "testid" as it should..

I need help on this Smile | :)

Oh by the way, I'm not using the MySQL++ wrapper.


Thanks for any help Smile | :)



GeneralRe: MySQL Inserting data Pin
Nish Nishant13-Oct-02 3:31
sitebuilderNish Nishant13-Oct-02 3:31 
GeneralRe: MySQL Inserting data Pin
Anonymous13-Oct-02 10:45
Anonymous13-Oct-02 10:45 
GeneralGetting DNS Server IP Pin
Al Giv.13-Oct-02 0:19
sussAl Giv.13-Oct-02 0:19 
GeneralRe: Getting DNS Server IP Pin
Anders Molin13-Oct-02 0:29
professionalAnders Molin13-Oct-02 0:29 
GeneralQuery about how to pass a control's Identification through its Message parameters Pin
12-Oct-02 22:17
suss12-Oct-02 22:17 
GeneralA beginner's confusion. Pin
zhoujun12-Oct-02 21:33
zhoujun12-Oct-02 21:33 
GeneralRe: A beginner's confusion. Pin
Shog912-Oct-02 21:38
sitebuilderShog912-Oct-02 21:38 
GeneralRe: A beginner's confusion. Pin
zhoujun12-Oct-02 22:00
zhoujun12-Oct-02 22:00 
GeneralRe: A beginner's confusion. Pin
Shog913-Oct-02 5:08
sitebuilderShog913-Oct-02 5:08 
GeneralRe: A beginner's confusion. Pin
Joaquín M López Muñoz13-Oct-02 4:34
Joaquín M López Muñoz13-Oct-02 4:34 
GeneralRe: A beginner's confusion. Pin
Shog913-Oct-02 5:09
sitebuilderShog913-Oct-02 5:09 
GeneralUrlEscape Error Pin
John Bosko12-Oct-02 21:04
John Bosko12-Oct-02 21:04 
GeneralRe: UrlEscape Error Pin
Stephane Rodriguez.12-Oct-02 21:33
Stephane Rodriguez.12-Oct-02 21:33 
GeneralRe: UrlEscape Error Pin
Dominik Reichl13-Oct-02 1:45
Dominik Reichl13-Oct-02 1:45 
GeneralRe: UrlEscape Error Pin
Stephane Rodriguez.13-Oct-02 5:43
Stephane Rodriguez.13-Oct-02 5:43 
GeneralA subclassed CStatic control and WM_RBUTTONDOWN Pin
xeonboy12-Oct-02 19:56
xeonboy12-Oct-02 19:56 
GeneralRe: A subclassed CStatic control and WM_RBUTTONDOWN Pin
Gary R. Wheeler13-Oct-02 4:29
Gary R. Wheeler13-Oct-02 4:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.