title: Explode a session variable in PHP always shows "Array"
body: <p>I try to explode the session variable named <code>"Name"</code> to get only the first name of the user.</p>
  
  <p>However, when I try to <code>echo</code> it, the result is always <code>"Array"</code>.</p>
  
  <pre><code>$_SESSION['name'] = $row['Name'];
  echo explode(" ", $_SESSION['name']);
  </code></pre>
  
  <p>Result is:  <code>Array</code><BR></p>
  
  <p>I even tried to store the <code>$_SESSION['Name']</code> in a variable and explode that variable instead and got the same result.</p>
  
  <p>Any idea?
  Thanks!</p>