title: Using oci_parse and oci_execute
body: <p>I'm sure this is something very basic but I can't seem to find my error.</p>
  
  <p>I'm trying to execute the following...</p>
  
  <pre><code>$c = db_connect();
  
  $email = addslashes($email);
  
  $sql = "SELECT * FROM RUSER WHERE email LIKE '" . $email . "';";
  $query = oci_parse($c, $sql) or die(oci_error($c));
  $response = oci_execute($query) or die(oci_error($c));
  </code></pre>
  
  <p>but I get <code>oci8 statement Warning: oci_execute(): ORA-00911: invalid character in /path/to/file.php on line 67</code> where line 67 is where <code>$response</code> is assigned.  </p>
  
  <p>So that means there is something wrong with <code>$query</code> right? But I can't seem to find what that would be. The raw sql executes fine from the command line.  echoing <code>get_resource_type($query)</code> gives a resource id...</p>
  
  <p>What am I doing wrong?</p>