Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End get key value of looped element

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43127

    I am looping like this

    foreach ($images as $image)

    how can i get the key value of $image in $images?

    #126853

    thank you, i’m still a noob in php your help is really appreciated

    #126856
    DADE
    Participant

    > in development not in production

    ain’t nobody got time for that. Really I think it’s not that big deal unless you’r coding for hospitals and stuff like that.

    #126857
    Paulie_D
    Member

    >ain’t nobody got time for that. Really I think it’s not that big deal unless you’r coding for hospitals and stuff like that.

    So professionalism and error checking is a waste of time?

    Sigh.

    #126979
    DADE
    Participant

    Answer is simple. My current job is not worth it, my manager is completely retarded. So unless users don’t have any issues or it’s my own project I won’t bother double checking stuff.

    #127000
    DADE
    Participant

    Nah, I won’t search any other job. By the end of the March I’ll run my own company, everything is ready, need to find better place for office and move everything there. I really appreciate your wishes tho, thank you.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.