For reference, this is the code that I am using:
<?php
require_once("blog/wp-config.php"); // Change this for your path to wp-config.php file
$sql = 'SELECT wp_posts.ID, wp_posts.post_title, wp_posts.post_content, wp_posts.post_date'
. ' FROM wp_post2cat INNER JOIN wp_posts ON wp_post2cat.post_id = wp_posts.ID'
. ' WHERE (((wp_post2cat.category_id)=3)) AND wp_posts.post_status= "publish"'
. ' ORDER BY wp_posts.post_date DESC LIMIT 10';
$result = mysql_query ($sql);
while ($news = mysql_fetch_array
($result, MYSQL_ASSOC)) {
echo "<h3>{$news['post_title']}</h3>
<p><i>{$news['post_date']}</i></p><p>";
echo apply_filters('the_content',$news['post_content']);
echo "</p></br>n";
}
?>