Please support our C++ advertiser: Programming Forums
Views: 1255 | Replies: 1
•
•
Join Date: Mar 2007
Location: Colombia
Posts: 19
Reputation:
Rep Power: 2
Solved Threads: 1
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
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
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode