Jump to content


New Members
  • Posts

  • Joined

  • Last visited

Guitarrenchip's Achievements


Newbie (1/5)



  1. I want to check if the User has typed it in correctly controlling on the Database. (The echos are just there for debug reasons) if (isset($_POST['aktion']) and $_POST['aktion']=='Annehmen') { //button click echo '<p>1</p>'; $email = ""; if (isset($_POST['email'])) { //steht was da? $email = (INT) trim($_POST['email']); echo '<p>2</p>'; if ($email != '') { //steht was da? 2.0 $suche = $db->prepare("SELECT email FROM recipients WHERE email = ?"); $suche->bind_param('s', $email); $emailtest = ""; $suche->execute(); $suche->bind_result($emailtest); echo '<p>3</p>'; if ($email == $emailtest){ echo '<p>4</p>'; } } } } The debug reaches "Milestone" 3, then its trace disappears, doesn't matter whether it's the right or wrong email. THX for help in advance :).
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.