Kamil Tekiela
5881f96d8b
Remove function name from return values of fetch_column
...
There are OOP and procedural variants, so specifying only the procedural
name can be confusing.
2021-11-17 18:35:47 +00:00
Kamil Tekiela
11731a4f73
Improve mysqli fetch_* descriptions
2021-11-17 18:33:05 +00:00
Kamil Tekiela
b610be0d56
Aling refpurpose of all mysqli fetch functions
2021-11-16 21:01:58 +00:00
Kamil Tekiela
1861d5203b
mysqli_fetch_assoc return values fix
2021-11-16 20:37:13 +00:00
Kamil Tekiela
473b5ab2c1
Fix mysqli return values ( #1055 )
2021-11-16 11:19:01 +00:00
Kamil Tekiela
dfa86bcd6d
Use type entities
2021-11-13 12:58:16 +00:00
hakre
d5161a40ab
Add note when return value is string ( #1062 )
...
Note taken from reference/mysqli/mysqli_result/num-rows.xml.
Extracting !ENTITY mysqli.integer.overflow.as.string.note
2021-11-13 12:49:53 +00:00
Sebastian Hädrich
933c299ca9
Add mysqli::debug() options parameters from comment
...
As per https://www.php.net/manual/en/mysqli.debug.php#122219
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-1079.
2021-11-10 15:46:18 +01:00
Kamil Tekiela
9097ea48f6
Fix type of ->num_rows
2021-11-04 08:44:34 +00:00
Kamil Tekiela
7ad83bb05b
next_result() and fetch_all() are now available when linking against libmysqlclient ( #1054 )
2021-10-29 23:18:36 +01:00
Anna Filina
b427504aec
Clarification of return values descriptions for mysqli fetch functions ( #841 )
...
Co-authored-by: shevchenko.r <r.shevchenko@bookcentre.ru>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-29 22:15:28 +01:00
Kamil Tekiela
52779f983f
Incorrect information in the return values section of fetch_fields ( #1043 )
2021-10-25 08:08:47 +01:00
Kamil Tekiela
4e8c90ca8a
PHP 8.1: Document mysqli_result::fetch_column ( #776 )
2021-10-19 09:31:48 +01:00
Kamil Tekiela
4f93fb38da
[PHP 8.1] Updated mysqli error reporting ( #1024 )
2021-10-18 12:02:07 +01:00
Sergey Panteleev
3976ceb925
Add MYSQLI_REFRESH_REPLICA
description ( #1006 )
2021-10-09 23:48:18 +03:00
Sergey Panteleev
9b50279c67
[PHP 8.1] Update mysqli_stmt::execute
description ( #987 )
...
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-02 19:50:22 +03:00
Kamil Tekiela
ab5887fb61
Small fixes in pdo execute ( #989 )
...
* Use temporary table instead
* Uppercase
* Better description
2021-10-01 17:43:42 +01:00
Máté Kocsis
b0b19b6618
Generate methodsynopses based on stubs for recent changes ( #903 )
2021-10-01 17:23:05 +02:00
Kamil Tekiela
a6d7e331c3
Revert "Deprecated MYSQLI_REFRESH_SLAVE in favor of MYSQLI_REFRESH_REPLICA"
...
This reverts commit 5d2ef1771f
.
2021-09-22 11:00:31 +01:00
Philip Olson
5d2ef1771f
Deprecated MYSQLI_REFRESH_SLAVE in favor of MYSQLI_REFRESH_REPLICA
2021-09-21 15:02:06 -07:00
Kamil Tekiela
67c340d029
Updating mysqli: data_seek
...
* Simplified examples
* Add mysqli_stmt_get_result
* Fix example tags
* Added a secondary example
* Fix code comments
Closes GH-887.
2021-09-14 15:25:19 +02:00
Kamil Tekiela
b1fc217c5f
Updating mysqli: mysqli_num_rows
...
* Changed article
* More accurate description
* More accurate return value
* Improved example
* See also
* Add a note
Closes GH-891.
2021-09-03 16:04:51 +02:00
Kamil Tekiela
a3051835f7
Updating mysqli: mysqli_num_fields
...
* Aligned wording
* Explicitely list columns to make it obvious where the number comes from
Closes GH-892.
2021-09-03 15:59:33 +02:00
Kamil Tekiela
a3365c7546
Updating mysqli: set_charset ( #844 )
...
* default was confusing
* Simplify examples
* It's character set
* Remove duplication
2021-08-17 13:52:25 -04:00
Kamil Tekiela
de9c65c91f
Remove E_STRICT and other PHP 5 related information ( #730 )
2021-08-17 17:56:25 +01:00
Peter Cowburn
2e8ef0a1bd
hyphenate "object-oriented"
...
refs #846
2021-08-08 18:48:47 +01:00
Kamil Tekiela
22eb6b0686
Provide better documentation for mysqli_multi_query ( #737 )
2021-08-06 21:12:30 +01:00
Kamil Tekiela
48f0bac7fd
Updating mysqli: bind_result ( #770 )
2021-08-06 13:59:30 +01:00
Kamil Tekiela
c85c9d1d44
<methodname> to <function>
2021-08-06 13:53:15 +01:00
Kamil Tekiela
cbf72e3145
Updating mysqli: get_result ( #771 )
2021-08-05 22:14:51 +01:00
Kamil Tekiela
05ccabd6b1
Updating mysqli: insert_id ( #627 )
2021-08-05 21:41:10 +01:00
Kamil Tekiela
3d34df4084
Move mysqli SQL injection warning to a snippet ( #703 )
2021-07-12 15:08:55 +01:00
Kamil Tekiela
d1d43ac1cc
Fixed remaining issues in mysqli versions.xml ( #772 )
...
* Removed non-existent functions
* Removed duplicated entries
* Added comments
2021-07-11 12:12:21 +01:00
Yoshinari Takaoka
f24ff59d10
Added PHP 8 into versions.xml for mysqli based on stubs. ( #426 )
2021-07-09 21:54:13 +01:00
沈唁
d8047edf39
Fix wrong params names for mysqli::__construct() [81232] ( #769 )
...
* Fix wrong params names for mysqli::__construct() [81232]
* Fix missing hostname
2021-07-09 19:24:25 +08:00
Sergey Panteleev
4a9a553afc
Fix issues in mysqli directory ( #700 )
2021-06-18 14:15:33 +03:00
Sergey Panteleev
d68e83b719
Fix some issues in mysqli directory
...
Part of #658
2021-06-11 10:53:12 +03:00
Christoph M. Becker
eae5a1cf1e
Revert "Fix #69884 : mysqli->connect_error seems to be shared across objects"
...
This reverts commit efaedacb53
.
We cannot document non-static properties as being static, even if they
should have been static in the first place.
2021-06-09 18:24:11 +02:00
Kamil Tekiela
20fb8a52f4
Updating mysqli: mysqli_close
...
* Replace the old note with something clearer
* Create proper example
* Do without fetch_all
Closes GH-619.
2021-05-23 00:18:01 +02:00
Kamil Tekiela
ecf8d0250e
Remove words 'last' and 'failed'
2021-05-22 22:15:07 +01:00
Kamil Tekiela
9ee5d8bbb8
Fix the examples for character_set_name
...
* Fix the examples for character_set_name
* a -> the
* Returns the current character set
Closes GH-618.
2021-05-22 23:12:44 +02:00
Kamil Tekiela
614d77598a
Updating mysqli: connect_error & connect_errno
...
* Remove unhelpful notes
* It's not only mysqli_connect. It's any connection attempt
* It's not only mysqli_connect. Reduced clutter
* Added explanatory comments in the code and used error_log
Closes GH-620.
2021-05-22 23:05:08 +02:00
YutaAdachi
e1d58b4166
Fix the default value of rollback-on-cached-plink
...
Closes GH-610.
2021-05-20 14:59:35 +02:00
Kamil Tekiela
2d5c6bed30
Updating mysqli: mysqli_stmt_affected_rows ( #553 )
...
* Remove redundant sentence
* Synchronize it with MySQL doc
* Fix incorrect information
* No need for 2 paragraphs
* Add literal
* Improved examples
* Replaced see also
* maximal -> maximum
2021-04-27 22:55:25 +02:00
Kamil Tekiela
cdd4a9f3a6
Updating mysqli: mysqli_affected_rows ( #554 )
...
* Fix grammar
* Remove spaces and split the line
* Add a note about unbuffered query
* Removed redundant code
* integer -> int
2021-04-27 22:52:51 +02:00
Kamil Tekiela
e994a8d5be
Updating mysqli: mysqli_stmt_num_rows ( #534 )
...
* Better title
* Rewrite the description
* Rewrite return value section
* Simplify the example
* Move up mysqli_stmt_store_result
* Removed ungrammatical "or not"
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-20 10:32:36 +02:00
Kamil Tekiela
058748359b
Updating mysqli: mysqli_stmt_store_result ( #535 )
...
* Split up the sentence and make it easier to read
* Simplify the example
2021-04-19 12:05:47 +02:00
Kamil Tekiela
2a5459cd41
Fix typo with <methodname>
2021-04-15 18:34:33 +01:00
Kamil Tekiela
a5dd0e6824
Remove mysqli::get_client_stats ( #518 )
...
This method doesn't exist.
2021-04-12 13:59:01 +02:00
Kamil Tekiela
5c3589b9b8
Updating mysqli: bind_param ( #512 )
...
* Add mysqli_stmt_prepare to the descr.
* Simplify examples
* Fix example title
* Added new example with ...
2021-04-08 12:55:16 +02:00