title: Prepared Statement Does not Exist
body: <p>I'm attempting to update my calendar's title based on the new user's input. </p>
  
  <p>The variables are as follows:</p>
  
  <pre><code>$titleNew = 'New Title'
  $titleOld = 'Old Title'
  </code></pre>
  
  <p>The old title exists inside the database and should update accordingly, but with this code I'm getting an error message that says my prepared statement does not exist.</p>
  
  <pre><code>$result = pg_prepare($conn, "update", "UPDATE calendar SET title = $1 WHERE title LIKE $2");
  
  $result = pg_execute($conn, "update", array($titleNew, $titleOld));
  </code></pre>