update page now
PHP 8.1.34 Released!

Voting

: max(eight, eight)?
(Example: nine)

The Note You're Voting On

soporte at etic dot com dot mx
14 years ago
I just found an error while trying to write several keywords (an array) with the binary function... please consider using the following: 

<?php
function binary() {
            $iptc_new = '';
            foreach (array_keys($this->meta) as $s) {
                $tag = str_replace("2#", "", $s);
                if(count($this->meta[$s])>1){
                    foreach ($this->meta[$s] as $row){
                        $iptc_new .= $this->iptc_maketag(2, $tag, $row);
                    }
                }else {
                    $iptc_new .= $this->iptc_maketag(2, $tag, $this->meta[$s][0]);
                }
            }
            return $iptc_new;
        }
?>

<< Back to user notes page

To Top