svn: /phpdoc/en/trunk/reference/pdo/ prepared-statements.xml

From: Date: Tue, 05 Jul 2016 08:57:56 +0000
Subject: svn: /phpdoc/en/trunk/reference/pdo/ prepared-statements.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14284@lists.php.net to get a copy of this message
peehaa Tue, 05 Jul 2016 08:57:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339564 Log: Moved introduction texts under the correct subtitle Changed paths: U phpdoc/en/trunk/reference/pdo/prepared-statements.xml Modified: phpdoc/en/trunk/reference/pdo/prepared-statements.xml =================================================================== --- phpdoc/en/trunk/reference/pdo/prepared-statements.xml 2016-07-05 07:32:56 UTC (rev 339563) +++ phpdoc/en/trunk/reference/pdo/prepared-statements.xml 2016-07-05 08:57:56 UTC (rev 339564) @@ -118,17 +118,16 @@ </example> </para> <para> - If the database driver supports it, an application may also bind parameters for - output as well as input. Output parameters are typically used to retrieve - values from stored procedures. Output parameters are slightly more complex - to use than input parameters, in that a developer must know how large a given - parameter might be when they bind it. If the value turns out to be larger - than the size they suggested, an error is raised. - </para> - - <para> <example> <title>Calling a stored procedure with an output parameter</title> + <simpara> + If the database driver supports it, an application may also bind parameters for + output as well as input. Output parameters are typically used to retrieve + values from stored procedures. Output parameters are slightly more complex + to use than input parameters, in that a developer must know how large a given + parameter might be when they bind it. If the value turns out to be larger + than the size they suggested, an error is raised. + </simpara> <programlisting role="php"> <![CDATA[ <?php @@ -144,17 +143,15 @@ </programlisting> </example> </para> - <para> - Developers may also specify parameters that hold values both input and output; - the syntax is similar to output parameters. In this next example, the - string 'hello' is passed into the stored procedure, and when it returns, - hello is replaced with the return value of the procedure. - </para> - - <para> <example> <title>Calling a stored procedure with an input/output parameter</title> + <simpara> + Developers may also specify parameters that hold values both input and output; + the syntax is similar to output parameters. In this next example, the + string 'hello' is passed into the stored procedure, and when it returns, + hello is replaced with the return value of the procedure. + </simpara> <programlisting role="php"> <![CDATA[ <?php

« previous php.doc.cvs (#14284) next »