cvs: phpdoc /en/reference/mssql constants.xml ini.xml setup.xml /en/reference/mssql/functions mssql-execute.xml mssql-fetch-array.xml
mssql-fetch-assoc.xml mssql-fetch-batch.xml mssql-fetch-object.xml mssql-field-type.xml mssql-free-statement.xml mssql-get-last-message.xml
mssql-init.xml

From: Date: Thu, 09 Oct 2008 08:48:10 +0000
Subject: cvs: phpdoc /en/reference/mssql constants.xml ini.xml setup.xml /en/reference/mssql/functions mssql-execute.xml mssql-fetch-array.xml
mssql-fetch-assoc.xml mssql-fetch-batch.xml mssql-fetch-object.xml mssql-field-type.xml mssql-free-statement.xml mssql-get-last-message.xml
mssql-init.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2220@lists.php.net to get a copy of this message
kalle Thu Oct 9 08:48:10 2008 UTC Modified files: /phpdoc/en/reference/mssql constants.xml ini.xml setup.xml /phpdoc/en/reference/mssql/functions mssql-execute.xml mssql-fetch-array.xml mssql-fetch-assoc.xml mssql-fetch-batch.xml mssql-fetch-object.xml mssql-field-type.xml mssql-free-statement.xml mssql-get-last-message.xml mssql-init.xml Log: * Added undocumented constant SQLFLT4 * Added missing information about resource types in MSSQL * Fixed some re-wording around the docs and some other cleanup

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mssql/constants.xml diff -u phpdoc/en/reference/mssql/constants.xml:1.5 phpdoc/en/reference/mssql/constants.xml:1.6 --- phpdoc/en/reference/mssql/constants.xml:1.5 Wed Oct 8 18:29:22 2008 +++ phpdoc/en/reference/mssql/constants.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <appendix xml:id="mssql.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; @@ -133,6 +133,17 @@ </varlistentry> <varlistentry> <term> + <constant>SQLFLT4</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Represents an four byte float. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> <constant>SQLFLT8</constant> (<type>integer</type>) </term> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/ini.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mssql/ini.xml diff -u phpdoc/en/reference/mssql/ini.xml:1.7 phpdoc/en/reference/mssql/ini.xml:1.8 --- phpdoc/en/reference/mssql/ini.xml:1.7 Wed Oct 8 18:29:22 2008 +++ phpdoc/en/reference/mssql/ini.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <section xml:id="mssql.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; @@ -104,7 +104,7 @@ <entry>mssql.charset</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.1.2 when built with FreeTDS.</entry> + <entry>Available since PHP 5.1.2 when built with FreeTDS 7.0 or greater.</entry> </row> </tbody> </tgroup> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/setup.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mssql/setup.xml diff -u phpdoc/en/reference/mssql/setup.xml:1.6 phpdoc/en/reference/mssql/setup.xml:1.7 --- phpdoc/en/reference/mssql/setup.xml:1.6 Wed Oct 8 18:29:22 2008 +++ phpdoc/en/reference/mssql/setup.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <chapter xml:id="mssql.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -46,9 +46,9 @@ <literal>ntwdblib.dll</literal> into the directory where you have installed php and overwrite the one thats already in there. This is due to the version distributed is old and outdated. Alternatively you - can use the <link linkend="book.uodbc">ODBC extension</link>, + can use the <link linkend="book.uodbc">ODBC</link>, <link linkend="ref.pdo-dblib">PDO_DBLIB</link> or - <link linkend="ref.pdo-odbc">PDO_ODBC</link>, to talk to MSSQL. + <link linkend="ref.pdo-odbc">PDO_ODBC</link> extensions, to talk to MSSQL. </para> </note> </section> @@ -67,6 +67,29 @@ &reftitle.resources; &no.resource; </section> + <section xml:id="mssql.resources"> + &reftitle.resources; + <section xml:id="mssql.resources.link"> + <title>mssql link</title> + <para> + A connection link returned by <function>mssql_connect</function> + and <function>mssql_pconnect</function>. + </para> + </section> + <section xml:id="mssql.resources.result"> + <title>mssql result</title> + <para> + A result handle returned by <function>mssql_query</function> on + <literal>SELECT</literal> queries. + </para> + </section> + <section xml:id="mssql.resources.statement"> + <title>mssql statement</title> + <para> + A statement handle returned by <function>mssql_init</function>. + </para> + </section> + </section> <!-- }}} --> </chapter> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-execute.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-execute.xml diff -u phpdoc/en/reference/mssql/functions/mssql-execute.xml:1.11 phpdoc/en/reference/mssql/functions/mssql-execute.xml:1.12 --- phpdoc/en/reference/mssql/functions/mssql-execute.xml:1.11 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-execute.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id='function.mssql-execute' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_execute</refname> @@ -34,6 +34,7 @@ <term><parameter>skip_results</parameter></term> <listitem> <para> + Whenever to skip the results or not. </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-fetch-array.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-fetch-array.xml diff -u phpdoc/en/reference/mssql/functions/mssql-fetch-array.xml:1.11 phpdoc/en/reference/mssql/functions/mssql-fetch-array.xml:1.12 --- phpdoc/en/reference/mssql/functions/mssql-fetch-array.xml:1.11 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-fetch-array.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.mssql-fetch-array" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_fetch_array</refname> @@ -81,7 +81,7 @@ } else { - // The follow is equal to the code below: + // The following is equal to the code below: // // while($row = mssql_fetch_row($query)) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-fetch-assoc.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-fetch-assoc.xml diff -u phpdoc/en/reference/mssql/functions/mssql-fetch-assoc.xml:1.8 phpdoc/en/reference/mssql/functions/mssql-fetch-assoc.xml:1.9 --- phpdoc/en/reference/mssql/functions/mssql-fetch-assoc.xml:1.8 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-fetch-assoc.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id='function.mssql-fetch-assoc' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_fetch_assoc</refname> @@ -55,8 +55,8 @@ } else { - // Print a nice list of users in the format of - // name (username) + // Print a nice list of users in the format of: + // * name (username) echo '<ul>'; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-fetch-batch.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-fetch-batch.xml diff -u phpdoc/en/reference/mssql/functions/mssql-fetch-batch.xml:1.9 phpdoc/en/reference/mssql/functions/mssql-fetch-batch.xml:1.10 --- phpdoc/en/reference/mssql/functions/mssql-fetch-batch.xml:1.9 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-fetch-batch.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id='function.mssql-fetch-batch' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_fetch_batch</refname> @@ -57,7 +57,7 @@ $result = mssql_query('SELECT * FROM [php].[dbo].[people]', $link, 100); $records = 10; -while(($records - 1) != -1) +while($records >= 0) { while($row = mssql_fetch_assoc($result)) { http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-fetch-object.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-fetch-object.xml diff -u phpdoc/en/reference/mssql/functions/mssql-fetch-object.xml:1.11 phpdoc/en/reference/mssql/functions/mssql-fetch-object.xml:1.12 --- phpdoc/en/reference/mssql/functions/mssql-fetch-object.xml:1.11 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-fetch-object.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.mssql-fetch-object" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_fetch_object</refname> @@ -70,8 +70,8 @@ } else { - // Print a nice list of users in the format of - // name (username) + // Print a nice list of users in the format of: + // * name (username) echo '<ul>'; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-field-type.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-field-type.xml diff -u phpdoc/en/reference/mssql/functions/mssql-field-type.xml:1.8 phpdoc/en/reference/mssql/functions/mssql-field-type.xml:1.9 --- phpdoc/en/reference/mssql/functions/mssql-field-type.xml:1.8 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-field-type.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mssql-field-type" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_field_type</refname> @@ -67,9 +67,9 @@ $query = mssql_query('SELECT [name] FROM [php].[dbo].[persons]'); // Print the field type and length -echo '\'' . mssql_field_name($query, 0) . '\' is a type of ' . - strtoupper(mssql_field_type($query, 0)) . - '(' . mssql_field_length($query, 0) . ')'; +echo '\'' . mssql_field_name($query, 0) . '\' is a type of ' . + strtoupper(mssql_field_type($query, 0)) . + '(' . mssql_field_length($query, 0) . ')'; // Free the query result mssql_free_result($query); http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-free-statement.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-free-statement.xml diff -u phpdoc/en/reference/mssql/functions/mssql-free-statement.xml:1.7 phpdoc/en/reference/mssql/functions/mssql-free-statement.xml:1.8 --- phpdoc/en/reference/mssql/functions/mssql-free-statement.xml:1.7 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-free-statement.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mssql-free-statement" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_free_statement</refname> @@ -56,7 +56,7 @@ // Create a new statement $stmt = mssql_init('test'); -// Bind values here and execute statement +// Bind values here and execute the statement // once we're done, we clear it from the memory // using mssql_free_statement like so: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-get-last-message.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-get-last-message.xml diff -u phpdoc/en/reference/mssql/functions/mssql-get-last-message.xml:1.7 phpdoc/en/reference/mssql/functions/mssql-get-last-message.xml:1.8 --- phpdoc/en/reference/mssql/functions/mssql-get-last-message.xml:1.7 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-get-last-message.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mssql-get-last-message" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_get_last_message</refname> @@ -54,7 +54,7 @@ ?> ]]> </programlisting> - &example.outputs; + &example.outputs.similar; <screen> <![CDATA[ MSSQL error: Invalid object name 'php.dbo.not-found'. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-init.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-init.xml diff -u phpdoc/en/reference/mssql/functions/mssql-init.xml:1.11 phpdoc/en/reference/mssql/functions/mssql-init.xml:1.12 --- phpdoc/en/reference/mssql/functions/mssql-init.xml:1.11 Wed Oct 8 18:29:23 2008 +++ phpdoc/en/reference/mssql/functions/mssql-init.xml Thu Oct 9 08:48:10 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id='function.mssql-init' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mssql_init</refname> @@ -79,12 +79,6 @@ ?> ]]> </programlisting> - &example.outputs; - <screen> -<![CDATA[ -MSSQL error: Invalid object name 'php.dbo.not-found'. -]]> - </screen> </example> </para> </refsect1>
« previous php.doc.cvs (#2220) next »