[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
vrana Fri Jul 15 02:02:11 2005 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: link_identifier (inspired by bug #33700) http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/reference.xml?r1=1.20&r2=1.21&ty=u Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.20 phpdoc/en/reference/mysql/reference.xml:1.21 --- phpdoc/en/reference/mysql/reference.xml:1.20Sat Sep 11 05:18:21 2004 +++ phpdoc/en/reference/mysql/reference.xml Fri Jul 15 02:02:10 2005 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -41,6 +41,19 @@ &reference.mysql.constants; + + &reftitle.notes; + + + Most MySQL functions accept link_identifier as + the last optional parameter. If it is not provided, last opened + connection is used. If it doesn't exist, connection is tried to + establish with default parameters defined in &php.ini;. If it is not + successful, functions return &false;. + + + + &reftitle.examples;
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
aidan Sat Sep 11 05:18:26 2004 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: pearised example http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/reference.xml?r1=1.19&r2=1.20&ty=u Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.19 phpdoc/en/reference/mysql/reference.xml:1.20 --- phpdoc/en/reference/mysql/reference.xml:1.19Mon Jan 5 22:16:50 2004 +++ phpdoc/en/reference/mysql/reference.xml Sat Sep 11 05:18:21 2004 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -40,7 +40,6 @@ &reference.mysql.constants; - &reftitle.examples; @@ -52,17 +51,17 @@
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
progcom Mon Jan 5 22:16:50 2004 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: indent fix in example. Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.18 phpdoc/en/reference/mysql/reference.xml:1.19 --- phpdoc/en/reference/mysql/reference.xml:1.18Mon Jan 5 08:03:25 2004 +++ phpdoc/en/reference/mysql/reference.xml Mon Jan 5 22:16:50 2004 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -70,7 +70,7 @@ echo "\t\t$col_value\n"; } echo "\t\n"; -} +} echo "\n"; /* Free resultset */
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml /en/reference/mysql/functions mysql-affected-rows.xml mysql-close.xml mysql-connect.xml mysql-create-db.xml mysql-data-seek.xml mysql-db-name.xml mysql-drop-db.xml mysql-errno.xml mysql-error.xml mysql-escape-string.xml mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-get-client-info.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql-get-server-info.xml mysql-insert-id.xml mysql-list-tables.xml mysql-query.xml mysql-result.xml mysql-select-db.xml mysql-tablename.xml
betzMon Jan 5 08:03:26 2004 EDT Modified files: /phpdoc/en/reference/mysql reference.xml /phpdoc/en/reference/mysql/functionsmysql-affected-rows.xml mysql-close.xml mysql-connect.xml mysql-create-db.xml mysql-data-seek.xml mysql-db-name.xml mysql-drop-db.xml mysql-errno.xml mysql-error.xml mysql-escape-string.xml mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-get-client-info.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql-get-server-info.xml mysql-insert-id.xml mysql-list-tables.xml mysql-query.xml mysql-result.xml mysql-select-db.xml mysql-tablename.xml Log: examples start at col 0 Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.17 phpdoc/en/reference/mysql/reference.xml:1.18 --- phpdoc/en/reference/mysql/reference.xml:1.17Mon Dec 15 11:52:06 2003 +++ phpdoc/en/reference/mysql/reference.xml Mon Jan 5 08:03:25 2004 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -52,32 +52,32 @@ @@ -110,4 +110,3 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - Index: phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml diff -u phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml:1.11 phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml:1.12 --- phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml:1.11Mon Dec 15 11:52:07 2003 +++ phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml Mon Jan 5 08:03:26 2004 @@ -1,5 +1,5 @@ - + @@ -56,18 +56,18 @@ @@ -88,15 +88,15 @@ @@ -111,7 +111,7 @@ - See also mysql_num_rows, + See also mysql_num_rows, and mysql_info. Index: phpdoc/en/reference/mysql/functions/mysql-close.xml diff -u phpdoc/en/reference/mysql/functions/mysql-close.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-close.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-close.xml:1.5 Mon Dec 15 11:52:07 2003 +++ phpdoc/en/reference/mysql/functions/mysql-close.xml Mon Jan 5 08:03:26 2004 @@ -1,5 +1,5 @@ - + @@ -41,10 +41,10 @@ Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.9 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.10 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.9 Thu Dec 18 09:14:30 2003 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Mon Jan 5 08:03:26 2004 @@ -1,5 +1,5 @@ - + @@ -99,10 +99,10 @@ Index: phpdoc/en/reference/mysql/functions/mysql-create-db.xml diff -u phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.8 phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.9 --- phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.8 Mon Dec 15 11:52:07 2003 +++ phpdoc/en/reference/mysql/functions/mysql-create-db.xml Mon Jan 5 08:03:26 2004 @@ -1,5 +1,5 @@ - + @@ -29,14 +29,14 @@ @@ -60,9 +60,7 @@ - See also - mysql_drop_db and - mysql_query. + See also mysql_query. Index: phpdoc/en/reference/mysql/functions/mysql-data-seek.xml diff -u phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.7 phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.8 --- phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.7 Mon Dec 15 11:52:07 2003 +++ phpdoc/en/reference/mysql/functions/mysql-data-seek.xml Mon Jan 5 08:03:26 2004 @@ -1,5 +1,5 @@ - + @@ -40,30 +40,30 @@ Index: phpdoc/en/reference/mysql/functions/mysql-db-name.xml diff -u phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.3 Wed Jul 9 11:07:29 2003 +++ phpdoc/en/reference/mysql/functions/mysql-db-n
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
georg Tue Jul 16 10:29:01 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: Added php.ini option mysql.connect_timeout Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.10 phpdoc/en/reference/mysql/reference.xml:1.11 --- phpdoc/en/reference/mysql/reference.xml:1.10Wed Jul 10 23:20:05 2002 +++ phpdoc/en/reference/mysql/reference.xml Tue Jul 16 10:29:01 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -104,6 +104,11 @@ NULL PHP_INI_ALL + + mysql.connect_timeout + "-1" + PHP_INI_SYSTEM + @@ -224,6 +229,19 @@ The default password to use when connecting to the database server if no other password is specified. Doesn't apply in safe mode. + + + + + + + mysql.connect_timeout + integer + + + +Connect timeout in seconds. On Linux this timeout is also used for +waiting for the first answer from the server. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
philip Wed Jul 10 23:20:05 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: All your English are belong to us. Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.9 phpdoc/en/reference/mysql/reference.xml:1.10 --- phpdoc/en/reference/mysql/reference.xml:1.9 Wed Jul 10 16:20:21 2002 +++ phpdoc/en/reference/mysql/reference.xml Wed Jul 10 23:20:05 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -244,45 +244,7 @@ Predefined constants - Seit der PHP Version 4.3.0 ist es möglich, den Funktionen - mysql_connect und mysql_pconnect einen - optionalen Parameter client_flags zu übergeben. - Dieser verwendet folgende Konstanten: - - MySQL Client Konstanten - - - - Konstante - Beschreibung - - - - - MYSQL_CLIENT_COMPRESS - benutzt ein komprimiertes Protokoll - - - MYSQL_CLIENT_IGNORE_SPACE - Ignoriert Leerzeichen hinter Funktionsnamen - - - MYSQL_CLIENT_INTERACTIVE - Ermöglicht Inaktivität einer Verbindung (wird serverseitig mit - interactive_timeout spezifiziert). Nach Ablauf der spezifizierten -Spanne wird die Verbindung beendet. - - - MYSQL_CLIENT_SSL - benutzt SSL (verschlüsseltes Protokoll) - - - - - - - - Since Version 4.3.0 it is possible to specify additional client flags for the + Since PHP 4.3.0 it is possible to specify additional client flags for the mysql_connect and mysql_pconnect functions. The following constants are defined: -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
He's been trying for a very long time :) Georg, take that back! - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Georg Richter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 8:45 PM Subject: Re: [PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml Interesting, is PHP on a mission to teach english speakers German? ;) Philip On Wed, 10 Jul 2002, Georg Richter wrote: > georg Wed Jul 10 16:20:21 2002 EDT > > Modified files: > /phpdoc/en/reference/mysql reference.xml > Log: > fixed typo > > > Index: phpdoc/en/reference/mysql/reference.xml > diff -u phpdoc/en/reference/mysql/reference.xml:1.8 phpdoc/en/reference/mysql/reference.xml:1.9 > --- phpdoc/en/reference/mysql/reference.xml:1.8 Wed Jul 10 11:20:09 2002 > +++ phpdoc/en/reference/mysql/reference.xml Wed Jul 10 16:20:21 2002 > @@ -1,5 +1,5 @@ > > - > + > >MySQL Functions >MySQL > @@ -244,7 +244,45 @@ > > Predefined constants > > - Since Version 4.3.0 it is possible to specify addtional client flags for the > + Seit der PHP Version 4.3.0 ist es möglich, den Funktionen > + mysql_connect und mysql_pconnect einen > + optionalen Parameter client_flags zu übergeben. > + Dieser verwendet folgende Konstanten: > + > + MySQL Client Konstanten > + > + > + > + Konstante > + Beschreibung > + > + > + > + > + MYSQL_CLIENT_COMPRESS > + benutzt ein komprimiertes Protokoll > + > + > + MYSQL_CLIENT_IGNORE_SPACE > + Ignoriert Leerzeichen hinter Funktionsnamen > + > + > + MYSQL_CLIENT_INTERACTIVE > + Ermöglicht Inaktivität einer Verbindung (wird serverseitig mit > + interactive_timeout spezifiziert). Nach Ablauf der spezifizierten > +Spanne wird die Verbindung beendet. > + > + > + MYSQL_CLIENT_SSL > + benutzt SSL (verschlüsseltes Protokoll) > + > + > + > + > + > + > + > + Since Version 4.3.0 it is possible to specify additional client flags for the > mysql_connect and mysql_pconnect > functions. The following constants are defined: > > > > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
Interesting, is PHP on a mission to teach english speakers German? ;) Philip On Wed, 10 Jul 2002, Georg Richter wrote: > georg Wed Jul 10 16:20:21 2002 EDT > > Modified files: > /phpdoc/en/reference/mysqlreference.xml > Log: > fixed typo > > > Index: phpdoc/en/reference/mysql/reference.xml > diff -u phpdoc/en/reference/mysql/reference.xml:1.8 >phpdoc/en/reference/mysql/reference.xml:1.9 > --- phpdoc/en/reference/mysql/reference.xml:1.8 Wed Jul 10 11:20:09 2002 > +++ phpdoc/en/reference/mysql/reference.xml Wed Jul 10 16:20:21 2002 > @@ -1,5 +1,5 @@ > > - > + > >MySQL Functions >MySQL > @@ -244,7 +244,45 @@ > > Predefined constants > > - Since Version 4.3.0 it is possible to specify addtional client flags for the > + Seit der PHP Version 4.3.0 ist es möglich, den Funktionen > + mysql_connect und mysql_pconnect einen > + optionalen Parameter client_flags zu übergeben. > + Dieser verwendet folgende Konstanten: > + > + MySQL Client Konstanten > + > + > + > + Konstante > + Beschreibung > + > + > + > + > + MYSQL_CLIENT_COMPRESS > + benutzt ein komprimiertes Protokoll > + > + > + MYSQL_CLIENT_IGNORE_SPACE > + Ignoriert Leerzeichen hinter Funktionsnamen > + > + > + MYSQL_CLIENT_INTERACTIVE > + Ermöglicht Inaktivität einer Verbindung (wird serverseitig mit > + interactive_timeout spezifiziert). Nach Ablauf der spezifizierten > +Spanne wird die Verbindung beendet. > + > + > + MYSQL_CLIENT_SSL > + benutzt SSL (verschlüsseltes Protokoll) > + > + > + > + > + > + > + > + Since Version 4.3.0 it is possible to specify additional client flags for the > mysql_connect and mysql_pconnect > functions. The following constants are defined: > > > > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
georg Wed Jul 10 16:20:21 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: fixed typo Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.8 phpdoc/en/reference/mysql/reference.xml:1.9 --- phpdoc/en/reference/mysql/reference.xml:1.8 Wed Jul 10 11:20:09 2002 +++ phpdoc/en/reference/mysql/reference.xml Wed Jul 10 16:20:21 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -244,7 +244,45 @@ Predefined constants - Since Version 4.3.0 it is possible to specify addtional client flags for the + Seit der PHP Version 4.3.0 ist es möglich, den Funktionen + mysql_connect und mysql_pconnect einen + optionalen Parameter client_flags zu übergeben. + Dieser verwendet folgende Konstanten: + + MySQL Client Konstanten + + + + Konstante + Beschreibung + + + + + MYSQL_CLIENT_COMPRESS + benutzt ein komprimiertes Protokoll + + + MYSQL_CLIENT_IGNORE_SPACE + Ignoriert Leerzeichen hinter Funktionsnamen + + + MYSQL_CLIENT_INTERACTIVE + Ermöglicht Inaktivität einer Verbindung (wird serverseitig mit + interactive_timeout spezifiziert). Nach Ablauf der spezifizierten +Spanne wird die Verbindung beendet. + + + MYSQL_CLIENT_SSL + benutzt SSL (verschlüsseltes Protokoll) + + + + + + + + Since Version 4.3.0 it is possible to specify additional client flags for the mysql_connect and mysql_pconnect functions. The following constants are defined: -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
georg Wed Jul 10 11:20:09 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: documenting new constants (client_flags): MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_INTERACTIVE, MYSQL_CLIENT_IGNORE_SPACE Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.7 phpdoc/en/reference/mysql/reference.xml:1.8 --- phpdoc/en/reference/mysql/reference.xml:1.7 Fri Jun 21 08:50:58 2002 +++ phpdoc/en/reference/mysql/reference.xml Wed Jul 10 11:20:09 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -244,6 +244,42 @@ Predefined constants + Since Version 4.3.0 it is possible to specify addtional client flags for the + mysql_connect and mysql_pconnect + functions. The following constants are defined: + + MySQL client constants + + + + constant + description + + + + + MYSQL_CLIENT_COMPRESS + use compression protocol + + + MYSQL_CLIENT_IGNORE_SPACE + Allow space after function names + + + MYSQL_CLIENT_INTERACTIVE + Allow interactive_timeout seconds (instead of wait_timeout) of + inactivity before closing the connection. + + + MYSQL_CLIENT_SSL + use SSL (encrypted protocol) + + + + + + + The function mysql_fetch_array uses a constant for the different types of result arrays. The following constants are defined: @@ -253,7 +289,7 @@ constant - meaning + description -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
gobaSun Apr 21 07:20:47 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.4 phpdoc/en/reference/mysql/reference.xml:1.5 --- phpdoc/en/reference/mysql/reference.xml:1.4 Fri Apr 19 22:22:22 2002 +++ phpdoc/en/reference/mysql/reference.xml Sun Apr 21 07:20:46 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -19,7 +19,7 @@ Requirements In order to have these functions available, you must compile PHP with - MySQL support + MySQL support.
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
rarruda Fri Apr 19 22:22:22 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: fixed minor typo Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.3 phpdoc/en/reference/mysql/reference.xml:1.4 --- phpdoc/en/reference/mysql/reference.xml:1.3 Tue Apr 16 15:18:34 2002 +++ phpdoc/en/reference/mysql/reference.xml Fri Apr 19 22:22:22 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -29,7 +29,7 @@ By using the --with-mysql configuration option you enable PHP to access MySQL databases. If you use this option without specifying the path to MySQL, PHP will use the built-in MySQL - client libraries. With PHP4 MySQL support is always eanbled; if you don't + client libraries. With PHP4 MySQL support is always enabled; if you don't specify the configure option, the bundled libraries are used. Users who run other applications that use MySQL (for example, running PHP 3 and PHP 4 as concurrent apache modules, or auth-mysql) should always specify the
[PHP-DOC] cvs: phpdoc /en/reference/mysql reference.xml
gobaTue Apr 16 15:18:35 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: Adding missing constant info Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.2 phpdoc/en/reference/mysql/reference.xml:1.3 --- phpdoc/en/reference/mysql/reference.xml:1.2 Mon Apr 15 17:57:11 2002 +++ phpdoc/en/reference/mysql/reference.xml Tue Apr 16 15:18:34 2002 @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -268,6 +268,18 @@ Columns are returned into the array having a numerical index to the fields. This index starts with 0, the first field in the result. + + + + MYSQL_STORE_RESULT + + Specifies that the MySQL result should be buffered. + + + + MYSQL_USE_RESULT + + Specifies that the MySQL result should not be buffered.