www.webdeveloper.com
Results 1 to 12 of 12

Thread: Get value and key in array

Threaded View

  1. #1
    Join Date
    Mar 2014
    Posts
    1

    Get value and key in array

    I have
    Code:
    Array
    (
        [0] => Array
            (
                [id] => library
                [name] => roomroom
            )
    
        [1] => Array
            (
                [id] => library
                [name] => bookbookbookbook
            )
    
    )
    in $servico array
    and my question is i want to check id [id] is same so add key of their name
    so result is like roomroom bookbookbookbook
    Last edited by NogDog; 04-02-2014 at 11:51 AM. Reason: added [code] tags

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles