Voting

: two minus one?
(Example: nine)

The Note You're Voting On

micheall at inthemdl dot net
14 years ago
While using the class file noted below you'll notice setting an array of keywords with the set() function will not work. Try this instead:
<?php
function set($tag, $data) {
if(
is_array($data)){
$c = count($data);
for (
$i=0; $i <$c; $i++){
$this->meta["2#$tag"][$i] = $data[$i];
}
$this->hasmeta=true;
} else {
$this->meta["2#$tag"]= Array( $data );
$this->hasmeta=true;
}
}
?>

<< Back to user notes page

To Top