I want to display the prices with my array :
1, 3, 6 are the duration and 10,25,50 are the price .
Did i do something wrong ?
I cant't see the durations and the prices , i used a foreach and i declared $duration as an array .
<?php
$suscribe = array(
'prices' => array(
1=>10,
3=>25,
6=>50,
)
);
$suscribe=array();
foreach($suscribe as $key=>$value)
{
echo $key.' : '.$value.'<br>';
}
?>