Hello!
I have writtern a script that captures keywords from a large multidimensional array using a for loop.
<?
if ($iptc_type == "2:25") {
$keywords[] = $iptc_data[$i]['RecData'];
}
I can then echo all the keywords using another for loop.
<?
sort ($keywords);
for ($i = 0; $i<count($keywords); $i++){
$keywords[$i]; . ";" . " ";
echo $keywords;
}
?>
It would be really useful to move the contents of $keywords[] in to a formated variable, so then I just echo the varible, but I've not been able to figure it out! I'm sure it's really easy!
As always, any help would be appreciated! Thanks!