0
can a variable name automaticaly change
Hi, I woudl like to know if it is possible in java or php to generate a variable name automaticaly. eg. if I know that I will use many table but I don't know how many can I make e methode that will creat a table+'i' where i is a integer and each time it is use we incremente i? thank you for your atantion ^^
2 Answers
+ 9
mario is right.
use array.
+ 5
you should use an array in that case