Skip to content

Commit

Permalink
Fix #81073: bad example titles for PDOStatement::execute
Browse files Browse the repository at this point in the history
Closes GH-621.
  • Loading branch information
kamil-tekiela committed May 22, 2021
1 parent ecf8d02 commit 91bec71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/pdo/pdostatement/execute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $sth->execute();
</programlisting>
</example>

<example><title>Execute a prepared statement with an array of insert values (named parameters)</title>
<example><title>Execute a prepared statement with an array of named values</title>
<programlisting role="php">
<![CDATA[
<?php
Expand All @@ -101,7 +101,7 @@ $sth->execute(array(':calories' => $calories, ':colour' => $colour));
</programlisting>
</example>

<example><title>Execute a prepared statement with an array of insert values (placeholders)</title>
<example><title>Execute a prepared statement with an array of positional values</title>
<programlisting role="php">
<![CDATA[
<?php
Expand All @@ -117,7 +117,7 @@ $sth->execute(array($calories, $colour));
</programlisting>
</example>

<example><title>Execute a prepared statement with question mark placeholders</title>
<example><title>Execute a prepared statement with variables bound to positional placeholders</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down

0 comments on commit 91bec71

Please sign in to comment.