1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| <?php
$voltage_voulu = 9; // sans guillemets
$products = array (
0 => array (
'id' => 1,
'price' => 68.333333,
'product_features' => array ( 'voltage' => 8 )
) ,
1 => array (
'id' => 2,
'price' => 79.166667,
'product_features' => array ( 'voltage' => 19 )
),
2 => array (
'id' => 3,
'price' => 99.166667,
'product_features' => array ( 'voltage' => 10 )
),
3 => array (
'id' => 4,
'price' => 44.55,
'product_features' => array ( 'voltage' => 14 )
),
5 => array (
'id' => 6,
'price' => 66.77,
'product_features' => array ( 'voltage' => 8 )
),
);
//var_dump($products); |
Partager