cvs: phpdoc /en/install problems.xml /en/install/windows manual.xml /en/reference/uodbc/functions odbc-execute.xml odbc-prepare.xml
odbc-setoption.xml /en/reference/xmlwriter/functions xmlwriter-open-memory.xml xmlwriter-open-uri.xml
| From: | Richard Quadling | Date: | Fri, 22 Aug 2008 11:04:23 +0000 |
| Subject: | cvs: phpdoc /en/install problems.xml /en/install/windows manual.xml /en/reference/uodbc/functions odbc-execute.xml odbc-prepare.xml odbc-setoption.xml /en/reference/xmlwriter/functions xmlwriter-open-memory.xml xmlwriter-open-uri.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2073@lists.php.net to get a copy of this message | ||
rquadling Fri Aug 22 11:04:23 2008 UTC
Modified files:
/phpdoc/en/install problems.xml
/phpdoc/en/install/windows manual.xml
/phpdoc/en/reference/uodbc/functions odbc-execute.xml
odbc-prepare.xml
odbc-setoption.xml
/phpdoc/en/reference/xmlwriter/functions xmlwriter-open-memory.xml
xmlwriter-open-uri.xml
Log:
Example for odbc_prepare and odbc_execute.
&success;. => &success; in several places.
.. => ... for tree listings where .. and ... were mixed.
http://cvs.php.net/viewvc.cgi/phpdoc/en/install/problems.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/install/problems.xml diff -u phpdoc/en/install/problems.xml:1.3 phpdoc/en/install/problems.xml:1.4 --- phpdoc/en/install/problems.xml:1.3 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/problems.xml Fri Aug 22 11:04:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter xml:id="install.problems" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Problems?</title> @@ -31,7 +31,7 @@ If you want to get help on the mailing list, please try to be precise and give the necessary details about your environment (which operating system, what PHP version, what web server, if - you are running PHP as CGI or a server module, &safemode;, etc...), and + you are running PHP as CGI or a server module, &safemode;, etc.), and preferably enough code to make others able to reproduce and test your problem. </simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/windows/manual.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc/en/install/windows/manual.xml diff -u phpdoc/en/install/windows/manual.xml:1.22 phpdoc/en/install/windows/manual.xml:1.23 --- phpdoc/en/install/windows/manual.xml:1.22 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/windows/manual.xml Fri Aug 22 11:04:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <sect1 xml:id="install.windows.manual" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Manual Installation Steps</title> @@ -90,7 +90,7 @@ | | | |-php_cpdf.dll | | - | |-.. + | |-... | +--mibs -- support files for SNMP | @@ -104,18 +104,18 @@ | | | |-php4apache2.dll | | - | |-.. + | |-... | +--PEAR -- initial copy of PEAR | | |-go-pear.bat -- PEAR setup script | - |-.. + |-... | |-php.exe -- CGI executable | - |-.. + |-... | |-php.ini-dist -- default php.ini settings | @@ -148,7 +148,7 @@ | | | |-php_cpdf.dll | | - | |-.. + | |-... | +--extras | | @@ -167,7 +167,7 @@ | |-fdftk.dll | - |-.. + |-... | |-php-cgi.exe -- CGI executable | @@ -175,7 +175,7 @@ | |-php.exe -- CLI executable - ONLY for command line scripting | - |-.. + |-... | |-php.ini-dist -- default php.ini settings | @@ -187,7 +187,7 @@ | |-php5apache2.dll | - |-.. + |-... | |-php5ts.dll -- core PHP DLL | http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-execute.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-execute.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-execute.xml:1.11 phpdoc/en/reference/uodbc/functions/odbc-execute.xml:1.12 --- phpdoc/en/reference/uodbc/functions/odbc-execute.xml:1.11 Tue May 20 14:59:05 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-execute.xml Fri Aug 22 11:04:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.odbc-execute" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_execute</refname> @@ -62,7 +62,37 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success;. + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>odbc_execute</function> and <function>odbc_prepare</function> example</title> + <para> + In the following code, <varname>$success</varname> will only be + &true; if all three parameters to myproc are IN parameters: + </para> + <programlisting role="php"> +<![CDATA[ +<?php +$a = 1; +$b = 2; +$c = 3; +$stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); +$success = odbc_execute($stmt, array($a, $b, $c)); +?> +]]> + </programlisting> + </example> + </para> + <para> + If you need to call a stored procedure using INOUT or OUT parameters, + the recommended workaround is to use a native extension for your database + (for example, <link linkend='ref.mssql'>mssql</link> for MS SQL Server, + or <link linkend='ref.mssql'>oci8</link> for Oracle). </para> </refsect1> @@ -99,6 +129,15 @@ </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>odbc_prepare</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-prepare.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-prepare.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.7 phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.8 --- phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.7 Tue May 20 22:37:38 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-prepare.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.odbc-prepare" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_prepare</refname> @@ -59,10 +59,10 @@ &reftitle.examples; <para> <example> - <title><function>odbc_prepare</function> example</title> + <title><function>odbc_execute</function> and <function>odbc_prepare</function> example</title> <para> - In the following code, <varname>$res</varname> will only be - valid if all three parameters to myproc are IN parameters: + In the following code, <varname>$success</varname> will only be + &true; if all three parameters to myproc are IN parameters: </para> <programlisting role="php"> <![CDATA[ @@ -70,8 +70,8 @@ $a = 1; $b = 2; $c = 3; -$stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); -$res = odbc_execute($stmt, array($a, $b, $c)); +$stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); +$success = odbc_execute($stmt, array($a, $b, $c)); ?> ]]> </programlisting> @@ -85,6 +85,15 @@ </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>odbc_execute</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-setoption.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.11 phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.12 --- phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.11 Tue May 20 22:37:38 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-setoption.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.odbc-setoption" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_setoption</refname> @@ -84,7 +84,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success;. + &return.success; </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml diff -u phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml:1.5 phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml:1.6 --- phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml:1.5 Wed Jun 20 22:25:37 2007 +++ phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.xmlwriter-open-memory" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -34,7 +34,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Object oriented style: &return.success;. + Object oriented style: &return.success; </para> <para> Procedural style: Returns a new xmlwriter resource for later use with the http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml diff -u phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml:1.6 phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml:1.7 --- phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml:1.6 Wed Jun 20 22:25:37 2007 +++ phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.xmlwriter-open-uri" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -44,7 +44,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Object oriented style: &return.success;. + Object oriented style: &return.success; </para> <para> Procedural style: Returns a new xmlwriter resource for later use with the
http://cvs.php.net/viewvc.cgi/phpdoc/en/install/problems.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/install/problems.xml diff -u phpdoc/en/install/problems.xml:1.3 phpdoc/en/install/problems.xml:1.4 --- phpdoc/en/install/problems.xml:1.3 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/problems.xml Fri Aug 22 11:04:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter xml:id="install.problems" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Problems?</title> @@ -31,7 +31,7 @@ If you want to get help on the mailing list, please try to be precise and give the necessary details about your environment (which operating system, what PHP version, what web server, if - you are running PHP as CGI or a server module, &safemode;, etc...), and + you are running PHP as CGI or a server module, &safemode;, etc.), and preferably enough code to make others able to reproduce and test your problem. </simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/windows/manual.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc/en/install/windows/manual.xml diff -u phpdoc/en/install/windows/manual.xml:1.22 phpdoc/en/install/windows/manual.xml:1.23 --- phpdoc/en/install/windows/manual.xml:1.22 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/windows/manual.xml Fri Aug 22 11:04:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <sect1 xml:id="install.windows.manual" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Manual Installation Steps</title> @@ -90,7 +90,7 @@ | | | |-php_cpdf.dll | | - | |-.. + | |-... | +--mibs -- support files for SNMP | @@ -104,18 +104,18 @@ | | | |-php4apache2.dll | | - | |-.. + | |-... | +--PEAR -- initial copy of PEAR | | |-go-pear.bat -- PEAR setup script | - |-.. + |-... | |-php.exe -- CGI executable | - |-.. + |-... | |-php.ini-dist -- default php.ini settings | @@ -148,7 +148,7 @@ | | | |-php_cpdf.dll | | - | |-.. + | |-... | +--extras | | @@ -167,7 +167,7 @@ | |-fdftk.dll | - |-.. + |-... | |-php-cgi.exe -- CGI executable | @@ -175,7 +175,7 @@ | |-php.exe -- CLI executable - ONLY for command line scripting | - |-.. + |-... | |-php.ini-dist -- default php.ini settings | @@ -187,7 +187,7 @@ | |-php5apache2.dll | - |-.. + |-... | |-php5ts.dll -- core PHP DLL | http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-execute.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-execute.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-execute.xml:1.11 phpdoc/en/reference/uodbc/functions/odbc-execute.xml:1.12 --- phpdoc/en/reference/uodbc/functions/odbc-execute.xml:1.11 Tue May 20 14:59:05 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-execute.xml Fri Aug 22 11:04:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.odbc-execute" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_execute</refname> @@ -62,7 +62,37 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success;. + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>odbc_execute</function> and <function>odbc_prepare</function> example</title> + <para> + In the following code, <varname>$success</varname> will only be + &true; if all three parameters to myproc are IN parameters: + </para> + <programlisting role="php"> +<![CDATA[ +<?php +$a = 1; +$b = 2; +$c = 3; +$stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); +$success = odbc_execute($stmt, array($a, $b, $c)); +?> +]]> + </programlisting> + </example> + </para> + <para> + If you need to call a stored procedure using INOUT or OUT parameters, + the recommended workaround is to use a native extension for your database + (for example, <link linkend='ref.mssql'>mssql</link> for MS SQL Server, + or <link linkend='ref.mssql'>oci8</link> for Oracle). </para> </refsect1> @@ -99,6 +129,15 @@ </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>odbc_prepare</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-prepare.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-prepare.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.7 phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.8 --- phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.7 Tue May 20 22:37:38 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-prepare.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.odbc-prepare" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_prepare</refname> @@ -59,10 +59,10 @@ &reftitle.examples; <para> <example> - <title><function>odbc_prepare</function> example</title> + <title><function>odbc_execute</function> and <function>odbc_prepare</function> example</title> <para> - In the following code, <varname>$res</varname> will only be - valid if all three parameters to myproc are IN parameters: + In the following code, <varname>$success</varname> will only be + &true; if all three parameters to myproc are IN parameters: </para> <programlisting role="php"> <![CDATA[ @@ -70,8 +70,8 @@ $a = 1; $b = 2; $c = 3; -$stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); -$res = odbc_execute($stmt, array($a, $b, $c)); +$stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); +$success = odbc_execute($stmt, array($a, $b, $c)); ?> ]]> </programlisting> @@ -85,6 +85,15 @@ </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>odbc_execute</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-setoption.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.11 phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.12 --- phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.11 Tue May 20 22:37:38 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-setoption.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.odbc-setoption" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_setoption</refname> @@ -84,7 +84,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success;. + &return.success; </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml diff -u phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml:1.5 phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml:1.6 --- phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml:1.5 Wed Jun 20 22:25:37 2007 +++ phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-memory.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.xmlwriter-open-memory" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -34,7 +34,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Object oriented style: &return.success;. + Object oriented style: &return.success; </para> <para> Procedural style: Returns a new xmlwriter resource for later use with the http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml diff -u phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml:1.6 phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml:1.7 --- phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml:1.6 Wed Jun 20 22:25:37 2007 +++ phpdoc/en/reference/xmlwriter/functions/xmlwriter-open-uri.xml Fri Aug 22 11:04:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.xmlwriter-open-uri" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -44,7 +44,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Object oriented style: &return.success;. + Object oriented style: &return.success; </para> <para> Procedural style: Returns a new xmlwriter resource for later use with the