Ciao ragazzi non riesco a trovare l'errore mi potete aiutare pls grazie
L'errore che mi da è :
Parse error: syntax error, unexpected $end in /membri/wowcrafter/profile.php on line 45
Codice:<?php include 'header.php'; ?> <div id="wrapper"> <p><?php if(isset($_SESSION['utente'])){ if(!isset($_POST['invia'])){ ?> <form method="post" action="#" id="formprofile" enctype="multipart/form-data"> <label for="username">Profilo</label> <input type="text" name="username" id="username" /><br> <input type="submit" name="invia" id="visualizza" value="Visualizza" /> </form> }else <?php { $username = mysql_real_escape_string($_POST['username']); $id = "SELECT Foto FROM info_utenti WHERE username = '$username'"; $result = mysql_query($id); $row = mysql_fetch_array($result); // Stampo tutti i risultati echo '<img src="upload/'.$row[Foto].'" /><br />'; echo '<p><strong>Username: </strong>'.$row[username].'</p>'; echo '<p><strong>Email: </strong>'.$row[email].'</p>'; echo '<p><strong>Nome: </strong>'.$row[Nome].'</p>'; echo '<p><strong>Cognome: </strong>'.$row[Cognome].'</p>'; echo '<p><strong>Residenza: </strong>'.$row[Residenza].'</p>'; } } ?> </p> </div> </body> </html>

LinkBack URL
About LinkBacks
