jcma
01-27-2003, 11:28 AM
i have an array
$months = array(1=>"Jan","Fev",.......)
and i retreive the month number through a query.
and when i try :
$months[$row['month']] it doesn't return anything.
$row['month'] -> 01, 02 ,03, ...
$months[01] works fine...
but both thing doesn't work.
i've tried
$db_month = $row['month'];
$months[$db_month]
but it doesn't work too...
can some one help me... thanks
$months = array(1=>"Jan","Fev",.......)
and i retreive the month number through a query.
and when i try :
$months[$row['month']] it doesn't return anything.
$row['month'] -> 01, 02 ,03, ...
$months[01] works fine...
but both thing doesn't work.
i've tried
$db_month = $row['month'];
$months[$db_month]
but it doesn't work too...
can some one help me... thanks