Hi,
I've wrote this lines of code
mysql_query(mp_cnn, "UPDATE pg_info SET x=3, y=5 WHERE pg_id=0");
but when I controll my db the record isn't change.
Why?
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
mmm I've deleted a select before the update function
-- SELECT --
// usiamo mysql_real_query al posto di mysql_query xche' la prima e'
piu' veloce
if (mysql_real_query(mp_cnn, c_query, strlen(c_query)) != 0)
return (-1);
else
{
mp_res = mysql_use_result(mp_cnn); //
Hi,
After I've filled my MYSQL_ROW variable, I would like print it into the
screen
--
MYSQL_ROW lop;
db.pgInfoSel();
lop = db.PreRow(); // return the reference to filled row
for(int i = 0; i <= 7; i++)
cout << lop[i] << endl;
but, if I would print from 0 to 7 don't pri