// Intended Release: 3.5
// 3.5 includes table-driven menu
?>
<?
//=============================================
// Location and condition settings
//=============================================
include("cm_environment.inc");
$db = abcd $UserID = "ar";
$UserPW = "ar";
$link = ocilogon($UserID,$UserPW,$db)or die(print"Unable to connect");
return $link;
break;
}
}
//========================== End
// Database Owner ID
//=============================================
$CDatabaseOwner = "areddy."; //for application version 3
$SESSION['CDatabaseOwner'] = $CDatabaseOwner;
//=============================================
// Session Stuff
//=============================================
//---------------------Defaults in cm_content.php
if (isset($SESSION['OrgID']))
{
$GOrgID = $SESSION['OrgID']; //for application version 3 and upwards
}
else
{
$GOrgID = -1;
}
if (isset($SESSION['OrgName']))
{
$GOrgName = $_SESSION['OrgName']; //for application name
}
else
{
$GOrgName = "Unknown";
}
//====================================================================== =========
// Database table name defnitions
//=============================================
$t_salespersons = $CDatabaseOwner."mm_reason_code";
iam accessing this in file in a different php file, the link to the Oracle is working but
somehow its not recognizing the Database owner. I mentioned the Db owner here as areddy. but If it is sql server, Its working fine with dbo., What is it wrong iam doing here.
The link is working fine to Oracle, But the only problem iam having is $cdatabaseowner is not recognizing. I need it to recognize cause some of the tables iam accessing it using $t.
Please help me