Nuimi Posted April 17, 2015 Share Posted April 17, 2015 Can you help me with this update question. $db= new mysqli("localhost", "dany66", "*******", "mathstart"); $email_n = $_POST['email_n']; $vek_n = $_POST['vek_n']; $datum_n = $_POST['datum_n']; if(isset($email_n)) { $update1 = "UPDATE inf(email) SET email= '$email' WHERE jmeno = '" . $_SESSION['username'] . "'"; $pokus = $db -> query($update1); if(fetch_assoc($pokus) == TRUE) { echo("<script> alert('Řádek s e-mailem byl změněn.')</script>"); } } Link to comment Share on other sites More sharing options...
justsomeguy Posted April 17, 2015 Share Posted April 17, 2015 Please don't post duplicate topics. Link to comment Share on other sites More sharing options...
Recommended Posts