Peggy Posted October 20, 2015 Posted October 20, 2015 I have a excel file(),original Variable as below: $aData[][] = [["Mary", 5, "Apple", "Banana", "Tomato", "Watermelon", "Strawberry"], _ ["Sam", 3, "Apple", "Tomato", "Strawberry"], _ ["Jack", 3, "Banana", "Watermelon", "Strawberry"]]I want to use one Variable to represent each Variable as below:(Easy to expand the number)$aData[][] = [$Name, $amount , $fruit] But I don't know how to code,It really baffles me,I want to ask for your assistance~~Thank you very very much!!!!!!!!!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now