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 ^^

21st Feb 2017, 11:12 AM
guy vassart
guy vassart - avatar
2 odpowiedzi
+ 9
mario is right. use array.
21st Feb 2017, 11:19 AM
Agus Mei
Agus Mei - avatar
+ 5
you should use an array in that case
21st Feb 2017, 11:14 AM
Mario L.
Mario L. - avatar