Advertisement
jumpy83

Visualizzazione dati profilo 1

Feb 9th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. <?php
  2. $query = mysql_query("SELECT Nome, Cognome, Email,Telefono FROM utenti WHERE Username = '".$_SESSION['Username']."' LIMIT 1");
  3. $dati=mysql_query($query);
  4. $riga=mysql_fetch_array($dati);
  5. $Nome=$riga['Nome'];
  6. $Cognome=$riga['Cognome'];
  7. $Email=$riga['Email'];
  8. $Telefono=$riga['Telefono'];
  9. ?>
  10. <div class="col-xs-12 col-md-6 field-group">
  11. <label for="nome">Nome</label>
  12. <input type="text" name="Nome"
  13. value="
  14. <?php
  15. echo $dati['Nome'];
  16. ?> "
  17. class="form-control field" disabled />
  18. </div>
  19.  
  20. <div class="col-xs-12 col-md-6 field-group">
  21. <label for="nome">Cognome</label>
  22. <input type="text" name="Cognome"
  23. value="
  24. <?php
  25. echo $dati['Cognome'];
  26. ?> "
  27. class="form-control field" disabled />
  28. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement