mysql BUG
#1

Correctly:

with BUG:

DEBUG:


what happen!??
that is something wrong when
mysql_fetch_field with mysql_get_field or mysql_fetch_field_row together i've tried
Reply
#2

What's wrong here?

Explain more your problem..
Reply
#3

Your pictures are just confusing.
Reply
#4

I god results of field NO.1 after 'mysql_fetch_field'
when using mysql_get_field(field,result)
fields is correct but every result is from "char_id"
fieldNO.1:"char_id" 50 dtype=0(dtype=MYSQL_STYLE_INT)
fieldNO.2:"account_id" 0 dtype=0(dtype=MYSQL_STYLE_INT)
fieldNO.3:"nickname" "ssadfadf" dtype=2(dtype=MYSQL_STYLE_STR)
"....something field" dtype=...

without mysql_fetch_field it gots
mysql_get_field("nickname",result),dtype=2,result output: "ssadfadf"

with mysql_fetch_field it gots
mysql_get_field("nickname",result),dtype=2,result output: "50"
or:
mysql_fetch_field(2,no2fieldname)
mysql_get_field(no2fieldname,no2result) ((output:dtpye=2(means STRING),no2result="50"))


floats it gots
mysql_get_field("hp",result),dtype=1,result output: "50.000000"


dtype is correct because field is correct,but result is wrong!so i got int:50 str:50 or float:50.000000
............My BAD ENGLISH.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)