Jump to content

after i delete the first column, i need the first item from the array to be converted into a string, what can i do


 Share

Recommended Posts

Even if you delete a column in a 2d Array you still need to reference it using $infos[0][0] to get the first line item, you could also just use $infos[0][1] without deleting the first column, I'm assuming that the 2d Array only has two columns to start with.

Link to comment
Share on other sites

19 minutes ago, Subz said:

Even if you delete a column in a 2d Array you still need to reference it using $infos[0][0] to get the first line item, you could also just use $infos[0][1] without deleting the first column, I'm assuming that the 2d Array only has two columns to start with.

it worked , thank u 😊

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...