RSS Forums RSS
Please support our C++ advertiser: Programming Forums

MySQL++ query question

Join Date: Mar 2007
Location: Colombia
Posts: 19
Reputation: Tales is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Tales Tales is offline Offline
Newbie Poster

MySQL++ query question

  #1  
Apr 3rd, 2007
I want to make a query in C++ using the MySQL++ API.

Here is my problem, in PHP for example I make something like this:

$query = "SELECT * FROM table1 WHERE id = " . $value;

In C++ I can't do that. I need a way to make $value be part of the query string. I know it is a silly question, but can someone help me find this answer?

Thank You
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:03 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC