A ver....
Cambialo así:
Código PHP:
Ver original$tabla = "wordpress";
$servidor = "localhost";
$usuario = "root";
$clave = "";
$consulta = mysql_query("Select sid, catid, aid, title, time, hometext, bodytext, comments, counter, topic, informant, notes, ihome from nuke_stories limit 6"); $sid = "'" . $fila['sid'] . "'";
$title = "'" . $fila['title'] . "'";
$time = "'" . $fila['time'] . "'";
$hometext = "'" . $fila['hometext'] . "'";
$body = "'" . $fila['bodytext'] . "'";
$title = $fila['title'];
echo"$body";
echo "<p>ID $sid fecha: $time noticia: $title</p>";
$sqlinsert="INSERT INTO wp_posts VALUES ($sid, '1', $time, $time, $hometext, $title,'', 'publish', 'open', 'open', '','','','', $time, $time,'', '0 ','', '0', 'post','', '0 '); ";
}