note 24605 added to function.iptcembed
| From: | bob at lucid-systems dot com | Date: | Thu, 22 Aug 2002 19:37:18 +0000 |
| Subject: | note 24605 added to function.iptcembed | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35375@lists.php.net to get a copy of this message | ||
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]);
}
--
http://www.php.net/manual/en/function.iptcembed.php
http://master.php.net/manage/user-notes.php?action=edit+24605
http://master.php.net/manage/user-notes.php?action=delete+24605
http://master.php.net/manage/user-notes.php?action=reject+24605