Hi, I think i am having some issues when bringing some information back from a table.
When I use the mysqli->fetch_object() way of returning data then everything is fine. But when i use mysqli->fetch_array() I get duplicate results.
Below is the output of print_r() of the fetch_array():
Array
(
[0] => 19
[m_id] => 19
[1] => blah
[username] => blach
[2] => john
[nick] => john
[3] => 45235d9b9d7f34fad7606
[password] => 45235d9b9dfa126f68a46c61a06
[4] => .88";}
[stats] => .88";}
[5] => 42
[rating] => 42
[6] => 8448
[kills] => 8448
[7] => 261
[mvp] => 261
[8] => 17
[streak] => 17
[9] => k8-LQejJbPv6ZMeJTbkvBA
[rankbadge] => k8-LQejJbPv6ZMeJTbkvBA
[10] => 1282002012
[lastupdate] => 1282002012
)
as you can see key[9] and key ['rankbadge'] are the same.
Is this supposed to happen or could there be an error in my code somewhere?
thanks in advance.