‘post_content_filtered’ => ”
maybe this can discover a right way to resolve our problem?
i have try it but still no luck
can you please be more specific?
any one can offer other solution?
i have try
$wpdb->escape and also post_content_filtered, but still not working
please someone help us
please, somebody… needed badly π
You need to escape the “‘s if you do it like this \” it works just fine. I just used it.
this is what I ended up with in my xhtml in my wordpress post
<div id=”xxxx”>some text here</div>
<!–more–>
<div id=”xxxx”>some text here</div>
do it like this.
// Create post object
$my_post = array();
$my_post[‘post_title’] = ‘My post’;
$my_post[‘post_content’] = ‘<div id=\”xxxx\”>some text here</div><!–more–><div id=\”xxxx\”>some text here</div>’; //This is my post.’;
$my_post[‘post_status’] = ‘publish’;
$my_post[‘post_author’] = 1;
$my_post[‘post_category’] = array(0);
// Insert the post into the database
$idid=wp_insert_post( $my_post );
echo $idid;
echo get_permalink($idid);
still no luck. any other solution. please….
please some body, help me
please someone here whoe kind enough to help us!!!
well, can some one help me. pliis….
does anyone here, really can help us?
please anyone can help me