日期:2014-05-16 浏览次数:21254 次
g_MySQLAdmin.Query(sql,myvvs);
for(int j =0; j < myvvs.size() ; j++)
{
string title= vvs[i][2];
if( myvvs.size() != 1)
{
title+= "[";
title+=CConvert::IntToStr(j+1);
title+="]";
}
71 {
72 string title= vvs[i][2];
73 if( myvvs.size() != 1)
74 {
75 title+= "[";
76 title+=CConvert::IntToStr(j+1);
77 title+="]";
78 }
79 string mysql = "INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`, `post_excerpt` , `to_ping`,`pinged`,`post_content_filtered` ) VALUE ( '1', now(), now(), '";
80 mysql+= myvvs[i][0];
(gdb) bt
#0 main () at insert.cpp:76
(gdb) p title
No symbol "title" in current context.
(gdb) p myvvs
No symbol "myvvs" in current context.
(gdb) p i
$3 = 0