Echo multiple variables to one div class
<p>I'm trying to echo a user name and a greeting from IF statement i made.</p>

<pre><code>&lt;?php
                global $current_user;
                get_currentuserinfo();
                echo get_avatar( $current_user-&gt;ID, 64 );
                $hour = date('G');
                if ($hour &lt; 12) {
                    $greeting = 'Good Morning';
              } else if ($hour &lt; 18) {
                    $greeting = 'Good Evening';
              } else {
                    $greeting = 'Good Night';
        }

    echo '&lt;div class="greeting"&gt;'.($greeting). , .$current_user-&gt;user_login. '&lt;/div&gt;';
?&gt;
</code></pre>

<p>but i'm getting syntax error:</p>

<blockquote>
  <p>syntax error, unexpected ','</p>
</blockquote>

<p>How can i echo 2 variables into one div?</p>
