Connecting with Oracle
Following code snippet connect PHP Grid with Oracle.
$db_conf = array();$db_conf["type"] = "oci8"; // mysql,oci8(for oracle),mssql,postgres,sybase$db_conf["server"] = "127.0.0.1:1521";$db_conf["user"] = "system";$db_conf["password"] = "asd";$db_conf["database"] = "xe";
include("../../lib/inc/jqgrid_dist.php");$g = new jqgrid($db_conf);Resources
Section titled “Resources”Oracle Sample Code
- You can check this demo in archive
demos/loading/oracle-master-detail.php