?
Solved

statement handle not prepared

Posted on 2005-03-17
2
Medium Priority
?
400 Views
Last Modified: 2007-12-19
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
Comment
Question by:dprasad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 32

Accepted Solution

by:
ldbkutty earned 2000 total points
ID: 13569079
>> $findkwquery = "select keywords_id ......

You have "$findkwquery"

but in :

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

you have "$findwkquery"

?
0
 
LVL 32

Expert Comment

by:ldbkutty
ID: 13569102
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question