SQL Server 2014 – Option Add a user photo in the php panel

I have a php system already done at 100%, it works with SQL Server 2014, its connection and registration are saved in the SQL server in the table: Db_Tank

The only thing missing is to add the photo option of the user, which can change the photo (logical), the photo is renamed in the images folder according to its ID ($ VerificaID) that appears even in the account information. I just add HTML in the script just to not have that room …

I therefore need you to help me replace this part up there by the same php script for the user's photo exchange, here is the index.php :

    <? php
include (& # 39; global.php & # 39;)
if (! isset ($ _SESSION['UserId']) || isset ($ _ GET['logout'])) {
session_destroy ();

die& # 39;);
}
if (isset ($ _GET['lang'])) {
if ($ _GET['lang'] == & br; || $ _GET['lang'] = & # 39; vt & # 39;) {
$ _SESSION['lang'] = $ _GET['lang'];
} else $ _SESSION['lang'] = & Br;
}
if (! isset ($ _SESSION['lang'])) $ _SESSION['lang'] = & Br;
?>

    
        
        <?php echo $titulo ?>
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        

    
    
        
        

Account Information



user ID : #

User name :

Character name :

You have:

<? php co (); if (team () == 4) { echo

Administrative Panel: > Connection <

& # 39 ;; } ?>
<a class = "cta hvr-float-shadow button" href = ""target =" _ blank "> Connect to the game














DDTank - Aziris Games

Flights New recharge Support to change the password Exit