On Sunday 23 July 2006 10:26 pm, ali asghar torabi parizy wrote:
while ((row = mysql_fetch_row(res_set)) != NULL) {
while (row = mysql_fetch_row(res_set))
would do the same thing, NULL check shouldn't be necessary.
for (i=0; iltmysql_num_fields(res_set); i++) {
I hope your client is
hi to all.
thanks luiz and mike for response.
my code is compiled when i use -lmysqlclient option and executable file is now
exist but when i try to execute this file it prompts segmentation error
.what's the meaning of it and what i have to do?
The code is as fillows:
hi to all.
thanks luiz and mike for response.
my code is compiled when i use -lmysqlclient option and executable file is now
exist but when i try to execute this file it prompts Segmentation fault
.what's the meaning of it and what i have to do?
##
gcc -o test -L/usr/lib/mysql