On my website a user can enter multiple addresses. The file structure looks like this:
I load the data to the users profile so that he can change it and add different cities if needed. To do that I loop through each address in a for-loop. For that purpose I need the correct length of address. But since address is an array after deleting one address the length still stays at two.
What options do I have?