From ba3104e34815a0a595def64b1a192a565dcc87ca Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 13 Jul 2003 19:29:00 +0000 Subject: [PATCH] - LT hacking git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@134983 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mysql/functions/mysql-affected-rows.xml | 8 +++++--- .../mysql/functions/mysql-field-name.xml | 4 +++- reference/mysql/functions/mysql-stat.xml | 4 ++-- reference/var/functions/get-defined-vars.xml | 8 +++++--- reference/var/functions/get-resource-type.xml | 19 ++++++++++--------- reference/var/functions/gettype.xml | 5 ++--- 6 files changed, 27 insertions(+), 21 deletions(-) diff --git a/reference/mysql/functions/mysql-affected-rows.xml b/reference/mysql/functions/mysql-affected-rows.xml index e672aabf00..8f617b8aa0 100644 --- a/reference/mysql/functions/mysql-affected-rows.xml +++ b/reference/mysql/functions/mysql-affected-rows.xml @@ -1,5 +1,5 @@ - + @@ -72,7 +72,7 @@ ]]> - The above example would produce the following output: + The above example would produce the following output: + + Update-Query @@ -94,7 +96,7 @@ Records deleted: 0 /* Update records */ mysql_query("UPDATE mytable SET used=1 WHERE id < 10"); printf ("Updated records: %d\n", mysql_affected_rows()); -mysql_query("COMMIT"); + mysql_query("COMMIT"); ?> ]]> diff --git a/reference/mysql/functions/mysql-field-name.xml b/reference/mysql/functions/mysql-field-name.xml index 4d79c2b5d7..4ab2bd8e1d 100644 --- a/reference/mysql/functions/mysql-field-name.xml +++ b/reference/mysql/functions/mysql-field-name.xml @@ -1,5 +1,5 @@ - + @@ -36,6 +36,7 @@ <function>mysql_field_name</function> example ]]> diff --git a/reference/mysql/functions/mysql-stat.xml b/reference/mysql/functions/mysql-stat.xml index fb0bde64a3..0c27d85422 100644 --- a/reference/mysql/functions/mysql-stat.xml +++ b/reference/mysql/functions/mysql-stat.xml @@ -1,5 +1,5 @@ - + @@ -17,7 +17,7 @@ - mysql_stat currently only returns status for uptime, + mysql_stat currently only returns status for uptime, threads, queries, open tables, flush tables and queries per second. For a complete list of other status variables you have to use the SHOW STATUS SQL command. diff --git a/reference/var/functions/get-defined-vars.xml b/reference/var/functions/get-defined-vars.xml index faea24be81..ab3acb34b8 100644 --- a/reference/var/functions/get-defined-vars.xml +++ b/reference/var/functions/get-defined-vars.xml @@ -1,5 +1,5 @@ - + @@ -18,6 +18,8 @@ This function returns an multidimensional array containing a list of all defined variables, be them environment, server or user-defined variables. + + - + @@ -15,25 +15,26 @@ resourcehandle - This function returns a string representing the type of the - resource passed to it. If the paramater is not a - valid resource, it - generates an error. + This function returns a string representing the type of the + resource passed to it. If the paramater is not a valid + resource, it generates an error. + + doc)."\n"; -// prints: domxml document ?> ]]> diff --git a/reference/var/functions/gettype.xml b/reference/var/functions/gettype.xml index 1760a7ce82..9873efc4d2 100644 --- a/reference/var/functions/gettype.xml +++ b/reference/var/functions/gettype.xml @@ -1,5 +1,5 @@ - + @@ -20,8 +20,7 @@ Never use gettype to test for a certain type, since the returned string may be subject to change in a future version. - In addition, it is slow too, as it involves string comparision . + In addition, it is slow too, as it involves string comparision. Instead, use the is_* functions.