I am creating a wordpress site.
My client asks me to do the coding in whole php.
But sometimes, somewhere could not use the php.
I combine the php into HTML

eg: 

```
<a class="single_post_title" href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<h1 class="single_post_heading heading_blog"><?php the_title(); ?></h1>
</a>

```

if I use 

```
<?php
  echo '<a class="single_post_title" href="'.the_permalink().'" title="'.the_title().'">
       <h1 class="single_post_heading heading_blog">'.the_title().'</h1>
       </a>';
?>

```

then the word press site shows `<a class="single_post_title" href="" title="">` while I inspect it using fire bug. 
the href and title attributes are empty .
might be the reason is for that wordpress built in function `the_permalink()` echoing the link already. so when I use `href="'.the_permalink().'"` the link is echoed double time in to the href attribute.

How can I over come this using PHP and calling those HTML lines into PHP?