Posts 'Array' for some reason
<p>I am building a wall-type thing in a social network. Below a person can post something on someone's wall. But when I am expecting whoever posted the comment to appear, it just shows 'Array'. Why is that?</p>

<p>Below I have snippets of my script: </p>

<pre><code>         while ($row = mysql_fetch_assoc($getposts)) {
                    $id = $row['id'];
                    $body = $row['body'];   

                    $date_added = $row['date_added'];
                    $user_posted_to = $row['user_posted_to'];  

                                           $get_user_info = mysql_query("SELECT * FROM users WHERE username='$added_by'");
                                            $get_info = mysql_fetch_assoc($get_user_info);
                                            $profilepic_info = $get_info['profile_pic'];
                                            if ($profilepic_info == "") {
                                             $profilepic_info = "./img/default_pic.jpg";
                                            }
                                            else
                                            {
                                             $profilepic_info = "./userdata/profile_pics/".$profilepic_info;
                                            }

             &lt;div style='float: left;'&gt;
                                            &lt;img src='$profilepic_info' height='60'&gt;
                                            &lt;/div&gt;" 
                                            ?&gt;
                             &lt;div class='posted_by'&gt;
                    Posted by:

                      &lt;a href='profile.php?id=&lt;?php echo $get_info['id']?&gt;'&gt;&lt;? echo $row['added_by']; ?&gt;&lt;/a&gt; on &lt;? echo $date_added ?&gt;&lt;/div&gt;
                                                                                             &lt;? echo " &lt;br /&gt;&lt;br /&gt;
                                            &lt;div  style='max-width: 600px;'&gt;
                                            $body&lt;br /&gt;&lt;p /&gt;&lt;p /&gt;
                                            &lt;/div&gt;
                                            &lt;hr /&gt;
                    ";
</code></pre>
