I'm very a new comer to PHP and extremely have no idea how to start if this involves writing it myself.

I've discovered this function for Wordpress that we am using:

function excerpt($limit) {
  $excerpt = explode(' ', get_the_excerpt(), $limit);
  if (count($excerpt)>=$limit) {
    array_pop($excerpt);
    $excerpt = implode(" ",$excerpt).'<a href="<?php the_permalink(); ?>">Read In Full</a>';
  } else {
    $excerpt = implode(" ",$excerpt);
  } 
  $excerpt = preg_replace('`\[[^\]]*\]`','',$excerpt);
  return $excerpt;
}

function content($limit) {
  $content = explode(' ', get_the_content(), $limit);
  if (count($content)>=$limit) {
    array_pop($content);
    $content = implode(" ",$content).'[...]';
  } else {
    $content = implode(" ",$content);
  } 
  $content = preg_replace('/\[.+\]/','', $content);
  $content = apply_filters('the_content', $content); 
  $content = str_replace(']]>', ']]&gt;', $content);
  return $content;

Within the above code, I've placed

"<?php the_permalink(); ?>"

in to the href. It is only turning up like a string of words rather than developing a call towards the posts link.

Anybody assist me?? Thanks!

Check it out such as this:

$excerpt = implode(" ",$excerpt).'<a href="'<?php the_permalink(); ?>'">Read In Full</a>';

You didn't remember to place ' pre and post php. Hope this can help you.

Later edit:

I suppose all of your code is write in php. I Quickly think you should attempt:

$excerpt = implode(" ",$excerpt).'<a href="'.the_permalink().'">Read In Full</a>';

Hope this time around works.