Welcome to the Endless Pinball Blog
<? $getposts = mysql_query (“SELECT * FROM wp_term_relationships WHERE term_taxonomy_id = 4”);
while ($row = mysql_fetch_array($getposts)){
$postid = $row[‘object_id’];
echo ‘[[‘ . $postid . ‘]]’;
}
?>
<? $getposts = mysql_query (“SELECT * FROM wp_term_relationships WHERE term_taxonomy_id = 4”);
while ($row = mysql_fetch_array($getposts)){
$postid = $row[‘object_id’];
echo ‘[[‘ . $postid . ‘]]’;
}
?>