Testing - PHP

Search Arrays

Example #1

Array
(
    [0] => Array
        (
            [id] => 1
            [name__full] => Ken Roney
            [name__short] => Ken R
            [position] => executive director
            [insertDateTime] => 2018-08-26 05:29:52
        )

    [1] => Array
        (
            [id] => 2
            [name__full] => Rob Thibodeau
            [name__short] => Rob
            [position] => counsellor
            [insertDateTime] => 2018-08-26 05:29:52
        )

    [2] => Array
        (
            [id] => 3
            [name__full] => Dave Dorricott
            [name__short] => Dave D
            [position] => attendant
            [insertDateTime] => 2018-08-26 05:29:52
        )

    [3] => Array
        (
            [id] => 4
            [name__full] => Larry Doyle
            [name__short] => Larry
            [position] => attendant
            [insertDateTime] => 2018-08-26 06:03:13
        )

    [4] => Array
        (
            [id] => 5
            [name__full] => Ken Van
            [name__short] => Ken V
            [position] => attendant
            [insertDateTime] => 2018-08-26 06:03:39
        )

    [5] => Array
        (
            [id] => 6
            [name__full] => David Craig
            [name__short] => Dave C
            [position] => attendant
            [insertDateTime] => 2018-08-26 06:04:12
        )

    [6] => Array
        (
            [id] => 7
            [name__full] => Steve Charbonneau
            [name__short] => Steve
            [position] => attendant
            [insertDateTime] => 2018-08-26 06:04:53
        )

    [7] => Array
        (
            [id] => 8
            [name__full] => Brenda Cranston-Aube
            [name__short] => Brenda
            [position] => cook
            [insertDateTime] => 2018-09-02 15:20:18
        )

    [8] => Array
        (
            [id] => 9
            [name__full] => Jennifer
            [name__short] => Jen
            [position] => cook
            [insertDateTime] => 2018-09-02 15:49:41
        )

    [9] => Array
        (
            [id] => 10
            [name__full] => Doug McGinn
            [name__short] => Doug
            [position] => office manager
            [insertDateTime] => 2018-09-02 15:53:51
        )

)

Ken Roney (executive director)
Rob Thibodeau (counsellor)
Dave Dorricott (attendant)
Larry Doyle (attendant)
Ken Van (attendant)
David Craig (attendant)
Steve Charbonneau (attendant)
Brenda Cranston-Aube (cook)
Jennifer (cook)
Doug McGinn (office manager)

Brenda Cranston-Aube
Jennifer

Source: Inserting database results into array in PHP - PHP tutorial