note 24605 deleted from function.iptcembed by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 09:03:34 +0000 |
| Subject: | note 24605 deleted from function.iptcembed by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196866@lists.php.net to get a copy of this message | ||
Note Submitter: bob at lucid-systems dot com
----
The above example doesn't handle keywords properly. The 'create string' code needs to
be modified to cater for the array:
$c = count ($iptc_old[$s]);
for ($i=0; $i <$c; $i++)
{
$iptc_new .= iptc_maketag(2, $tag, $iptc_old[$s][$i]);
}