Posts: 737
Threads: 338
Joined: Jan 2013
What better use in loading, sscanf or mysql_fetch_field_row ?
Posts: 737
Threads: 338
Joined: Jan 2013
But, i need load a lot of information and i need to do a lot of sscanf.
Posts: 737
Threads: 338
Joined: Jan 2013
But how need to use
mysql_fetch_field_row ?
And i very need answer... Just in map construction , i build object 996, but when i upload it into my server, rotation is different. It's map construction bug?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Let me start by saying that fetch_field_row is twice as slow as fetch_field. Most of the time you know the order of the fields so you don't need any useless string comparisons at all. Just use the field index. I don't know how fetch_field(_row) relates to sscanf in terms of speed, though.
Posts: 737
Threads: 338
Joined: Jan 2013
I don't care slower or what. How use fetch_field_row in loading?>
Posts: 737
Threads: 338
Joined: Jan 2013
Because sscanf i need to use about 15 times in loading, because a lot of stuff. I think with fetch i just need use 1 store_result.