Thanks!
It was really strange. All the term_relationships and post_meta was there. I have no idea what fixed it.
I ended up figuring out how to use wp_insert_post() and add_post_meta(), but I just can;t believe that their is a difference in how they are inserted
Now, If I can only figure out how to replace:
$term_values=array(1,2,3,);
foreach($term_values as $_in){
$sql=”INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) VALUES($db_row, $_in)”;
$r_=mysql_query($sql);
}
Doh.
What a noob.. plugin attribute.
Thank you for being nice to the noob.
I should have put “I have not set targets” in the first post. Thanks for answering anyway!