PHP coding problem
<p>I'm trying to display the apostrophe <code>'s</code> after the full name for example <code>Samuel L. Jackson’s</code> but if the last name or middle name is left out the <code>'s</code> is not displayed right for example <code>Samuel ’s</code> can some one help me correct this problem? </p>

<p>Thanks</p>

<p>Here is the PHP code.</p>

<pre><code>if(!empty($first_name) || !empty($middle_name) || !empty($last_name)) {
    echo = $first_name . ' ' . $middle_name . ' ' . $last_name . ' \'s';
}
</code></pre>
