Hi...

 I need to somebody clarify what is the problem with this..:
 
 MYSQL mysql;
 MYSQL_RES *result;
 MYSQL_ROW rows;
 int i,n;

 .
 .
 .

 result = mysql_store_result(&mysql);

 n = mysql_num_rows(result);

 for(i=0;i<=n;i++)
  {
   rows = mysql_fetch_row(result);
   printf("%s\n",rows);
  }

 I got the answer but containing weird symbols...

 I hope somebody can help me..

 Thanks in advance.


------------------------------------------------------------
Your Free Email from http://www.linux.com.my (Malaysia Linux Portal)



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to