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 print nothing, if I print from 1
to 1 I received the data but the first char of the first value is
incorrect...
anybody know why?

select
-------
  snprintf(c_query, DIMQUERY,"SELECT pg_id, nome, cognome, altezza,
peso, eta, sesso, pi.descr, pl.descr, cl.descr, ln.descr, ms.descr\
                              FROM pg\
                              JOIN pg_info AS pi ON pi.ex_pg_id =
pg.pg_id\
                              JOIN popoli AS pl ON pi.ex_pl_id =
pl.pl_id\
                              JOIN clan AS cl ON pi.ex_cl_id = cl.cl_id\
                              JOIN lingue AS ln ON pi.ex_ln_id =
ln.ln_id\
                              JOIN mestieri AS ms ON pi.ex_ms_id =
ms.ms_id\
                              WHERE pg.pg_id = %i;", mui_pgID);
-----------


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to