RSS Forums RSS
Please support our C++ advertiser: Programming Forums
Views: 1255 | Replies: 1
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  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:32 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC