This example does not use modern best practices to avoid security issues
(prepared statements, proper output escaping), and is heavily criticized for
that. Fixing that would make the introductory example even more complex;
turning that section into a small tutorial (what was likely the original
intent) would make sense, but apparently nobody ever worked on that, so we
remove this example section altogether.
Cf. <https://github.com/php/doc-en/pull/278>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352184 c90b9560-bf6c-de11-be94-00142212c4b1
We also remove the strange bracketed info on the summary page. Maybe it was
meant to say "Not *when* called on an object, as it returns a $mysqli object",
but that's not true, because "$mysqli->init()" just returns NULL. Of course,
that doesn't make sense, and likely mysqli::init() was supposed to be called
statically, but that is no longer supported anyway.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351331 c90b9560-bf6c-de11-be94-00142212c4b1
A correct example was provided in begin_transaction() and commit()
& rollback are linked. For autocommit the example was expanded to
show how one can use autocommit to create transactions. This
should also clarify the behaviour of commit in regards to
autocommit. A note section was copied from autocommit doc to the
other three.
Also added simple description of SAVEPOINT and RELEASE SAVEPOINT.
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351087 c90b9560-bf6c-de11-be94-00142212c4b1
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_warning` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. **This will need verification.**
Includes removing the `FIXME` comments as AFAICS all methods have now been added.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350073 c90b9560-bf6c-de11-be94-00142212c4b1
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_driver` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. **This will need verification.**
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350072 c90b9560-bf6c-de11-be94-00142212c4b1
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_result` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. This may need verification.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350070 c90b9560-bf6c-de11-be94-00142212c4b1
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_stmt` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. This may need verification.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350067 c90b9560-bf6c-de11-be94-00142212c4b1
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. This may need verification.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350064 c90b9560-bf6c-de11-be94-00142212c4b1
* When called OO-style, the `mysqli $link` does not need to be passed AFAIK. Verification recommended.
* Add the method visibility modifier.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350063 c90b9560-bf6c-de11-be94-00142212c4b1
* Fix typo - method was referring to the wrong class in its signature.
* Add the method visibility modifier.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350062 c90b9560-bf6c-de11-be94-00142212c4b1