When a result comes back for a query, be in with mySQLi or the PDO object you get the same structure of array. For example;
(
[0] => 51
[BikeID] => 51
[1] => Suzuki
[Name] => Suzuki
[2] => 53
[Age] => 53
)
I realise why this is, but is it possible to remove the number indexes?
(
[ID] => 51
[Name] => Steve
[Age] => 53
)
I wanted to loop through it and do my work on it but the numbers are annoying me. lol