mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add title to example. Fix markup for extended class example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299195 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
dd731f1402
commit
33d634d15e
1 changed files with 3 additions and 4 deletions
|
@ -145,6 +145,7 @@
|
|||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
<title><methodname>mysqli::__construct</methodname> example</title>
|
||||
<para>&style.oop;</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
@ -174,10 +175,8 @@ echo 'Success... ' . $mysqli->host_info . "\n";
|
|||
$mysqli->close();
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>&style.oop; when extending mysqli class</title>
|
||||
</programlisting>
|
||||
<para>&style.oop; when extending mysqli class</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue