please help!
I'm getting this error:
cust code=533223conn=Resource id #3
Warning: OCIStmtExecute: ORA-02019: connection description for remote database not found in /www/html/westernkentuckygas.com/practic e/email/insert/i_email.php on line 16
Update FAILED
I'm coloring the line with the error in green in the code below:
//begin php
if ($submit)
{
echo "cust code=$CustCode";
$conn = OCILogon("scott","tiger","dbase");
echo "conn=$conn";
$sql = "UPDATE ucbcust
SET ucbcust_email_addr = $re_CustomerEmail
WHERE ucbcust_cust_code = $CustCode";
//parse
$update = OCIParse($conn,$sql);
$ok = OCIExecute($update,OCI_DEFAULT);
if ($ok)
{
print ("Update Success.");
}
else
{
print("Update FAILED");
//OCIError
}
}
//end php
cust code=533223conn=Resource id #3
Warning: OCIStmtExecute: ORA-02019: connection description for remote database not found in /www/html/westernkentuckygas.com/practic
Update FAILED
I'm coloring the line with the error in green in the code below:
//begin php
if ($submit)
{
echo "cust code=$CustCode";
$conn = OCILogon("scott","tiger","dbase");
echo "conn=$conn";
$sql = "UPDATE ucbcust
SET ucbcust_email_addr = $re_CustomerEmail
WHERE ucbcust_cust_code = $CustCode";
//parse
$update = OCIParse($conn,$sql);
$ok = OCIExecute($update,OCI_DEFAULT);
if ($ok)
{
print ("Update Success.");
}
else
{
print("Update FAILED");
//OCIError
}
}
//end php
