title: What can I use in php instead of (mysqli_real_escape_string)
body: <p>I have connected to oracle using <code>oci_connect</code> and I get this error:  </p>
  
  <blockquote>
    <p>Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, resource given in </p>
  </blockquote>
  
  <p>So I'm trying to change <code>mysqli_real_escape_string()</code> to work with oci... </p>
  
  <p>Here is my code:</p>
  
  <pre><code>$condition = '';
  
     $query = explode(" ", $_GET["search"]);
     foreach($query as $text)
     {
  
          $condition .= "VIDEO_TITLE LIKE '%".mysqli_real_escape_string($connect, $text)."%' OR ";
     }
     $condition = substr($condition, 0, -4);
     $sql_query = "SELECT * FROM TBL_VIDEO WHERE " . $condition;
     $result = oci_parse($connect, $sql_query);
     oci_execute($result);
     if(oci_num_rows($result) &gt; 0)
  </code></pre>