<!doctype html>
<html lang="en">
<head>  
    <meta charset="utf-8">
    <title>Thanks</title>
</head>
    
<body>
    <?php // thanks.php
        
        ini_set('display_errors', 1);
        error_reporting(E_ALL | E_STRICT);

        // say thanks
        $name = $_GET['name'];
        $split_name = explode(' ', $name);
        $first_name = $split_name[0];
        $last_name = $split_name[1];
        //print '<p>Thanks for your post, <span style="font-weight: bold;">'.$name.'</span>!</p>';
        print '<p>Thanks for your post, <span style="font-weight: bold;">'.$first_name.' '.$last_name.'</span>!</p>';
    ?>
</body>
</html>