I have a question using HTML and PHP combined.
I have this little code:
$args = array( 'post_type' => 'program', 'posts_per_page' => 100 );
$loop = new WP_Query( $args );
        while ( $loop->have_posts() ) : $loop->the_post();
        echo '<div class="singleprogram">';
            echo '<div class="entry-title"><a href="'the_permalink()'">';
            the_title();
            echo '</a></div>'; 
            echo '<div class="entry-content">';
            the_content();
            echo '</div></div>';
        endwhile;
If I use this, my page gets all blank. Any ID what I'm doing wrong??
( if i delete the_permalink() and leave a href="" blank then its working but of course it doesn't link to something )  
Thanks in advance!
 
     
     
     
    