georg Thu Feb 26 13:32:30 2004 EDT
Modified files:
/phpdoc/en/reference/mysqli/functions mysqli-real-escape-string.xml
mysqli-report.xml
mysqli-rollback.xml
mysqli-select-db.xml
mysqli-sqlstate.xml
Log:
added samples
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.5
phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.6
--- phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.5 Wed
Jan 28 18:18:42 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml Thu Feb 26
13:32:30 2004
@@ -1,5 +1,5 @@
-
+
mysqli_real_escape_string
@@ -47,6 +47,86 @@
mysqli_character_set_name.
+
+Example
+
+ Object oriented style
+
+
+
+
+
+ Procedural style
+
+
+
+
+
+ The above examples would produce the following output:
+
+
+
+
+
+
mysqli_report
@@ -65,54 +65,30 @@
Object oriented style
-
- Object oriented style
-
-
-
-
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml:1.4
phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml:1.5
--- phpdoc/en/reference/mysqli/functions/mysqli-rollback.xml:1.4Fri Feb 20
03:54:11 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-rollback.xmlThu Feb 26 13:32:30
2004
@@ -1,5 +1,5 @@
-
+
mysqli_rollback
@@ -39,63 +39,118 @@
-Examples
-
-
- Object oriented style
-
+Example
+
+ Object oriented style
+
-
-
-
- Procedural style
-
+
+
+
+ Procedural style
+
-
-
+
+
+
+ The above examples would produce the following output:
+
+
+
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-select-db.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-select-db.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-select-db.xml:1.6
phpdoc/en/reference/mysqli/functions/mysqli-select-db.xml:1.7
--- phpdoc/en/reference/mysqli/functions/mysqli-select-db.xml:1.6 Wed Jan 28
18:18:42 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-select-db.xml Thu Feb 26 13:32:30
2004
@@ -1,5 +1,5 @@
-
+
mysqli_select_db
@@ -39,6 +39,88 @@
mysqli_real_connect
+
+Example
+
+ Object oriented style
+
+
+
+
+
+ Procedural style
+
+
+
+
+
+ The above examples would produce the following output:
+
+
+
+
+
+
mysqli_sqlstate
+mysqli->sqlstate
Returns the SQLSTATE error from previous MySQL operation.
Description
-
- stringmysqli_sqlstate
- objectlink
-
+
+ stringmysqli_sqlstate
+ objectlink
+
+
+ Returns a string containing the SQLSTATE error code for the last error.
+ The error code consists of five characters. '0' means no
error.
+ The values are specified by ANSI SQL and ODBC. For a list of possible values,
see
+ &url.mysql.docs.error;.
+
+
+
+ Note that not all MySQL errors are yet mapped to SQLSTATE's.
+ The value HY000 (general error) is used for unmapped errors.
+
+
+
+
+Return values
+
+ Returns a string containing the SQLSTATE error code for the last error.
+ The error code consists of five characters. '0' means no
error.
+
+
+
+See also
+
+ mysqli_errno,
+ mysqli_error
+
+
+
+Example
+
+ Object oriented style
+
+
+
+
+
+ Procedural style
+
+
+
+
+
+ The above examples would produce the following output:
+
+
+
+