MySQL Forums
Forum List  »  Connector/Arduino

Re: inserting a string variable
Posted by: Steve Spence
Date: September 21, 2014 12:18PM

to get from String to string, you might need this!

char * stringTwo[10];
stringTotal.toCharArray(stringTwo[0], 10);

sprintf(buf, "INSERT INTO database.table VALUES ('%s')", stringTwo[0]);

Options: ReplyQuote


Subject
Views
Written By
Posted
5195
September 21, 2014 08:49AM
2048
September 21, 2014 08:54AM
Re: inserting a string variable
1943
September 21, 2014 12:18PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.