the way you made it is that every id has this
PHP Code:
pInfo[id][Dog][Level]
pInfo[id][Dog][Exp]
pInfo[id][Bear][Level]
pInfo[id][Bear][Exp]
pInfo[id][Cat][Level]
pInfo[id][Cat][Exp]
which is wrong cause you want to save the Class, Level, Xp ( Not xp and level for every class)
you should do this
PHP Code:
enum Class
{
Dog = 0,
Bear,
Cat
}
enum Data
{
Classes,
Level,
EXP
}
pInfo[33][Data]
and then if you want to change a value
PHP Code:
pInfo[id][Classes] = Class:Dog; // changing is class to a dog
pInfo[id][Level] = 100 // Making is level 100
pInfo[id][Exp] = 300 // Making is exp 300