• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

statement handle not prepared

statement handle not prepared in /var/www/html/dc/keywordedit2.php on line 29
which is:     $committed1 = ocicommit($c1);


if(isset($_POST['submit']))
{
      $c1 = ocilogon("K3GISDCP", "K3GISDCP", "GIS") or die("Could not connect");
      $selecttype = $_POST['selecttype'];

      $findkwquery = "select keywords_id AS KEYWORDID from dc_kw where dc_id = '$id1'";
      $s1 = OCIParse($c1, $findwkquery) or die("There was an error with the query : $findwkquery");
    $committed1 = ocicommit($c1);
0
dprasad
Asked:
dprasad
  • 2
1 Solution
 
ldbkuttyCommented:
>> $findkwquery = "select keywords_id ......

You have "$findkwquery"

but in :

>> $s1 = OCIParse($c1, $findwkquery) or ....

you have "$findwkquery"

?
0
 
ldbkuttyCommented:
dprasad, pointer question should not have more than 20 points. please delete the question and re-open with just 20 points if you wish to have.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now