Hi all,
I'm trying to use PHP with Oracle and I am having some problems with the ociexecute statement. I got the following error. What does it mean?
Warning: OCIStmtExecute: ORA-00936: missing expression in /usr/local/apache/htdocs/register/registration.php on line 33
My code is
$conn = ($user, $password, $db);
$sql = "Insert into users (name, age, title) values ($name, $age, $title)";
$stmt = ociparse ($conn, $sql);
ociexecute($stmt, OCI_DEFAULT);
The error is with the ociexecute line. Please help!