MySQL fetch array adds duplicate values?

后端 未结 3 1678
无人共我
无人共我 2021-01-18 12:59

I am getting this:

Array
(
[0] => 1
[id] => 1
[1] => 778613c4344dbc9565c359c1154c6a18
[session] => 778613c4344dbc9565c359c1154c6a18
[2] => fn
         


        
3条回答
  •  情深已故
    2021-01-18 13:46

    Pascal MARTIN has already explained the reason behind it.

    I'll tell you to use mysql_fetch_assoc It'll give you only the associated array. Numerical part will not be present.

提交回复
热议问题