I got a PHP syntax error and I don't know what I did wrong? : <p>I was trying to make a page so I put a post on a specific page on Wordpress and I ended up getting a syntax error. Below is the code I used.</p>

<pre><code> &lt;?php /* Template Name: blog */
    global $more;
     $more = 0;
     query_posts('cat=29');
    if(have_posts()) : while(have_posts()) : the_post();
     ?&gt;
    &lt;/p&gt; 
    &lt;p&gt;
    &lt;a href=&amp;amp;quot;&lt;?php the_permalink(); ?&gt;&amp;amp;quot;&gt;&lt;?php the_title( '&lt;/p&gt; &lt;h3&gt;', &lt;/h3&gt; &lt;p&gt;' ); ?&gt;&lt;/a&gt;&lt;/p&gt;
     &lt;p&gt;
    &lt;?php endwhile;
    &lt;endif;
    wp_reset_query(); 
    ?&gt;
</code></pre>
