I have the following array
Array ( [0] => Array ( [id] => 96 [shipping_no] => 212755-1 [part_no] =&
I think this works better in PHP 5.5+
$IdVar = array_column($data, 'id');