Fix #81073: bad example titles for PDOStatement::execute

Closes GH-621.
This commit is contained in:
Kamil Tekiela 2021-05-22 22:17:22 +01:00 committed by GitHub
parent ecf8d0250e
commit 91bec719b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
@ -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
@ -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