Download plugin :phpexec

<phpcode>
<?php query_posts(‘category_name=News’);
while (have_posts()) : the_post();
// do whatever you want

?>
<a href=”<?php the_permalink() ?>” title=”Permanent Link to <?php the_title(); ?>”></a>
<?php
endwhile;
?>
</phpcode>

————————————————————————————————-

<phpcode>

<div id=”main”>

<div id=”content” class=”narrowcolumn”>
<?php
query_posts(‘cat=3’);
while (have_posts()) : the_post();
the_title();
the_content();
endwhile;
?>

 

</div>
</phpcode>
——————————————————————————————————-
<phpcode>

<div id=”main”>
<?php
query_posts(‘cat=3’);
while (have_posts()) : the_post();

endwhile;
?>

 

</div>
</phpcode>