Testing.

<h1>

[php]
function get_youtube_title($video_id){
$html = 'https://www.googleapis.com/youtube/v3/videos?id='.$_GET["watch"].'&key=AIzaSyDWOfOWaQVZX_P0Z2_OSCGsjxWVv8Io8xw&part=snippet';
    $response = file_get_contents($html);
    $decoded = json_decode($response, true);
  foreach ($decoded['items'] as $items) {
       $title= $items['snippet']['title'];
     return $title;
  }
}
echo $title = get_youtube_title('.$_GET["watch"].');
[/php]

</h1>

<br>


<br>

<p>

[php]
function get_youtube_desc($video_id){

    $html = 'https://www.googleapis.com/youtube/v3/videos?id='.$_GET["watch"].'&key=AIzaSyDWOfOWaQVZX_P0Z2_OSCGsjxWVv8Io8xw&part=snippet';
  $response = file_get_contents($html);
$decoded = json_decode($response, true);
foreach ($decoded['items'] as $items) {
$description= $items['snippet']['description'];
return $description;
  }
}
echo $title = get_youtube_desc('.$_GET["watch"].');
[/php]

</p>