In any language, (though I am thinking java or PHP), how would I create a dynamic object name? I am fairly new to programming in general and it's something that's been bothering me. So if a user made an account on a website or a ew user on a program, I suppose I could save all the users as an array of objects whose class contains a name variable. But is there a way to actual name the object User. That is a user could enter "John Smith" and a new variable would be created called "John Smith" to which he could input other information and parameters? Or are user objects just all stored in an array of users?
Thanks.
Thanks.