• How do I do this:
    `
    $term_values=array(3,4,16,17);
    foreach($term_values as $_in){
    $sql=”INSERT INTO “.$is_test.”wp_term_relationships
    (object_id, term_taxonomy_id)
    VALUES($db_row, $_in)”;
    $r_=mysql_query($sql);
    }
    Using WordPress function?

The topic ‘insert into term_relationships’ is closed to new replies.