1 Reply Latest reply on Jan 10, 2012 10:04 PM by cj

    undefined function oci_connect()

      I have following syntax

      $c = oci_connect('scott','tiger','localhost/xe');
      $s = oci_parse($c, 'select
      from tbl_months m ');
      while ($res = oci_fetch_array($s, OCI_ASSOC)) {
      echo $res['MONTH_ID']. "<br>";

      These syntax swown following error

      Fatal error: Call to undefined function oci_connect() in C:\xampp\htdocs\project\con1.php on line 2
      so what to do for solving this error

      Edited by: nemraj on Dec 25, 2011 3:04 AM