With the following array, how would I just print the last name?
Preferably I'd like to put it in the format print_r($array['LastName']) the problem is, the number is likely to change.
$array = Array
(
    [0] => Array
        (
            [name] => FirstName
            [value] => John
        )
    [1] => Array
        (
            [name] => LastName
            [value] => Geoffrey
        )
    [2] => Array
        (
            [name] => MiddleName
            [value] => Smith
        )
)
 
     
     
    