If I have array looking like :
Array ( [date_type] => Date [date_text] => 20/12/2012 [place_type] => Place [place_text] => NY )
How can I print result like :
<span>Date</span><div>20/12/2012</div>
<span>Place</span><div>NY</div>
so on.... (if more custom array)
I came to this step now
$custom_info = array (
"date_type" => "Date",
"date_text" => "20/12/2012",
"place_type"=>"Place",
"place_text" => "NY"
) ;
$count = count($custom_info)/2;
for ($i=1; $i<$count; $i++)
{
}
Someone can help me ?