[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mysql / printw row[1]

From: Claudiu Captari
Subject: mysql / printw row[1]
Date: Sat, 11 Jun 2005 12:26:57 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2

i have the following code

  while (row = mysql_fetch_row(res))

when row[1] contains only 1 line without no more newlines ... it prints
correctly that line..

when it contains more than 1 line it prints blank lines equal to the
number of lines in row[0]

why is it doing this?
note that if i'm not using ncurses , and only printf, everything works
fine !
what am i doing wrong?

mysql> desc events;
| Field        | Type                             | Collation         |
Null | Key | Default | Extra |
| description  | text character set latin1        | latin1_swedish_ci
|      |     |         |       |

Claudiu Captari
Technical Department
Romania Data Systems
Constanta Branch
Tel.: 0341/400 401; 0341/400 402

Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such a case, you should destroy this message and
kindly notify the sender by reply e-mail.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]