About
Pricing
Community
Teams
Start Free Trial
Log in
kevbob650
asked on
6/30/2015
PHP Oracle Warnings
I'm getting PHP Warnings that I'm not able to debug and can't find any useful explanations when searching:
$sql = "select PRODUCT from table where ... ";
$rs = oci_parse($this->Connectio
n,$sql);
oci_execute($rs);
if($row = oci_fetch_object($rs, OCI_ASSOC)) {
$myobjects->product = $row->PRODUCT;
}
PHP Warning: oci_execute(): ORA-00936: missing expression
PHP Warning: oci_fetch_object(): ORA-24374: define not done before fetch or execute and fetch in ...
Any assistance would be appreciated!
PHP
Oracle Database
3
1
Last Comment
kevbob650
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
slightwv (䄆 Netminder)
6/30/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Loganathan Natarajan
6/30/2015
It is an issue of SELECT statement parameters or conditions you applied. Better post the full code of the statement.
kevbob650
6/30/2015
ASKER
It was a syntax error that I missed. I need to check if the variables I am passing to the select statement are valid.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck