title: How would I go about displaying user profile pictures from my database?
body: <p>The pictures are already in my database, and I'm trying to display them on a dropdown menu when they are signed in, in the top right corner of the window.
  Here is what my website is currently doing:</p>
  
  <p><a href="https://i.stack.imgur.com/TJYjh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TJYjh.png" alt="enter image description here"></a></p>
  
  <p>The highlighted blue part in the top right corner is supposed to be where the picture is displayed, but it's apparently not showing up. But as you can see lower on the page my picture displays.
  I'm not sure why it won't in the drop down menu.
  The code for my dropdown menu is here:</p>
  
  <pre><code>&lt;?php
                              include ('core.php');
                              include ('link.php');
                              include ('profile.php');
                              if(isset($_SESSION["steamid"]))
                              {
  
                              echo'&lt;li class="dropdown"&gt;
                                  &lt;a href="" class="dropdown-toggle profile waves-effect" data-toggle="dropdown" aria-expanded=""&gt;&lt;img src="'.$steamprofile['avatarfull'].'" alt="user-img" class="img-circle"&gt; &lt;/a&gt;
                                  &lt;ul class="dropdown-menu"&gt;
                                      &lt;li class="notifi-title"&gt;'.$steamprofile['personaname'].'&lt;/li&gt;
                                      &lt;li&gt;&lt;a href="profile.php"&gt;&lt;i class="ti-user m-r-5"&gt;&lt;/i&gt; Profile&lt;/a&gt;&lt;/li&gt;
                                      &lt;li&gt;&lt;a href="usersettings.php"&gt;&lt;i class="ti-settings m-r-5"&gt;&lt;/i&gt; Settings&lt;/a&gt;&lt;/li&gt;
                                      &lt;li&gt;&lt;a href="userhistory.php"&gt;&lt;i class="ti-book m-r-5"&gt;&lt;/i&gt; History&lt;/a&gt;&lt;/li&gt;
                                      &lt;li&gt;&lt;a href="steamauth/logout.php"&gt;&lt;i class="ti-power-off m-r-5"&gt;&lt;/i&gt; Logout&lt;/a&gt;&lt;/li&gt;
                                  &lt;/ul&gt;
                              &lt;/li&gt;';
  </code></pre>