N Nefyt Utente Attivo 17 Apr 2012 1.102 0 0 26 Apr 2012 #21 tieuho ha scritto: $q = "SELECT id_utente FROM iscritti WHERE id_utente = " . (int) $_POST['mittente']; should avoid sql injection Clicca per allargare... No, value (int) load only numeric int value, so no letters, if the string is on exemple "2lol" this load only 2 Ultima modifica: 26 Apr 2012
tieuho ha scritto: $q = "SELECT id_utente FROM iscritti WHERE id_utente = " . (int) $_POST['mittente']; should avoid sql injection Clicca per allargare... No, value (int) load only numeric int value, so no letters, if the string is on exemple "2lol" this load only 2