title: PHP: Prepared statements (newbie) getting this error
body: <p>I am a newbie to prepared statements and trying to get something simple to work.</p>
  
  <p>This is my DB table:</p>
  
  <pre><code>`unblocker_users` (
    `uno` bigint(20) NOT NULL AUTO_INCREMENT,
    `user_email` varchar(210) DEFAULT NULL,
    `pw_hash` varchar(30) DEFAULT NULL,
    `email_confirmed` tinyint(4) DEFAULT NULL,
    `total_requests` bigint(20) DEFAULT NULL,
    `today_date` date DEFAULT NULL,
    `accessed_today` tinyint(4) DEFAULT NULL,)
  </code></pre>
  
  <p>and this is my function to insert some test data</p>
  
  <pre><code>function add_new_user($e_mail1)
      {
      require_once "db.php";
  // ####### Below line is giving an error ########
  $stmt = $mysqli-&gt;prepare("INSERT INTO unblocker_users VALUES ("",?, ?,0,0,?,0)");
  $stmt-&gt;bind_param('sss', $e_mail1, $this-&gt;genRandomString(1),$this-&gt;today_date()); 
  
  $stmt-&gt;execute();
  
  $stmt-&gt;close(); 
  $done = $stmt-&gt;affected_rows;
  
  return $done;
      }
  </code></pre>
  
  <p>As you can see above, i have marked the line that is giving me an error.
  The error is<code>" Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in..."</code></p>
  
  <p>Where did I go wrong?</p>