Commit graph

268 commits

Author SHA1 Message Date
Jakub Vrana
2c40bcfe21 Link mysqli_fetch_field_direct() from mysql_field_flags()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330172 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-03 07:04:44 +00:00
Adam Harvey
65e697ff67 Officially deprecate ext/mysql in the manual.
Specific changes:

- Upgraded the soft deprecation sidebars to full blown warnings.
- Beefed up the wording of the soft deprecation notice boilerplate.
- Added changelog items for mysql_connect() and mysql_pconnect(), since they're
  the functions that have changed behaviour.
- Updated the MySQL changelog.
- Updated the 5.5 migration guide.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328734 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-10 15:22:07 +00:00
Philip Olson
0bc62a921d Moved generated changelog to a new changelog.xml, and added deprecated aliases as per PHP Bug #63295.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328703 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-07 08:30:40 +00:00
Philip Olson
50fed17947 Update PDO suggestion, as SET NAMES is not recommended
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326285 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-21 16:31:09 +00:00
Hannes Magnusson
07916c82c5 Send arguments to function via attributes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326070 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 19:04:39 +00:00
Philip Olson
41f14ef421 Added a concepts section about character sets, and linked to it in various places.
This is an improved fix for PHP Bug #54605


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326024 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-08 05:21:09 +00:00
Philip Olson
59b8134015 Documented that setting the character set via an SQL query will not be
useful to real_escape_string. This closes PHP Bug #54605


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326022 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-08 00:11:47 +00:00
Philip Olson
6757efbf17 Updated foo::bar(arg) syntax, as spotted by bjori(). And used [foo] for returned array parts.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325981 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 08:29:31 +00:00
Philip Olson
c53a5feeaf Added soft-deprecation-notice for each function, including ext/mysqli and PDO alternatives
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325980 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 07:55:24 +00:00
Philip Olson
b80218f662 Updated the soft deprecation alternatives syntax
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325976 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 04:25:50 +00:00
Peter Cowburn
7b41e56f19 fix build :(
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325952 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-03 14:21:19 +00:00
Peter Cowburn
323d2c0996 first ext/mysql soft deprecation notice
This commit serves as a test, before we roll the change out to
the whole extension.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325943 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-02 16:19:43 +00:00
Philip Olson
8e4ba0e729 Documented PHP Bug #60770 -- Return value for 'INSERT ... ON DUPLICATE KEY UPDATE' queries. Note stolen from david_colter at me dot com.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325920 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-01 07:01:17 +00:00
Philip Olson
0d907fcbab Documented PHP bug #61758 -- will report the alias name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325919 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-01 06:46:02 +00:00
Johannes Schlüter
2fe26a8a04 Add a note about aliased names and point users towards mysqli.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325284 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-18 11:14:22 +00:00
Philip Olson
70642d85d0 Softly deprecate part of ext/mysql... as a test. Let's see what chaos this will cause. And/or let's see if this idea makes much sense. Suggestions are welcome.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324829 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-05 06:38:36 +00:00
Philip Olson
4cb4824d50 technically, <constant> is not allowed within <initializer>, so removing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323449 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-23 16:23:01 +00:00
Maciek Sokolewicz
4a420d557a Fixed missing <initializer> warnings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323235 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-15 18:52:23 +00:00
Justin Martin
f76374f37e Clarified that certain commands can be used on a result set from mysql_unbuffered_query after all rows have been fetched. Closes bug #54704.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320465 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-05 21:55:40 +00:00
Richard Quadling
62d2701405 W/S, Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318457 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-27 09:21:48 +00:00
Philip Olson
5ffcb8a8aa mysql_list_dbs() is deprecated as of 5.4.0, as per PHP bug #50667
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318196 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-18 22:54:45 +00:00
Justin Martin
1317c63b4b Clarified note about fetching from unbuffered queries, as per bug #55813.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317924 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 21:27:41 +00:00
Yannick Torres
88a88985b9 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316587 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 06:12:03 +00:00
Etienne Kneuss
5e745cec2b Some mysql functions work differently with respect to the link id, mysql_close does not try to open one if none is found. There are probably other such cases
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314909 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-14 23:24:16 +00:00
Shein Alexey
789048eb9d Fixed comment markup and removed @ from @mysql_connect in the example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311648 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-31 10:53:03 +00:00
Shein Alexey
654099b8c6 Fixed wrong titles.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311568 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-30 09:07:30 +00:00
Shein Alexey
0c95eb7e65 Fixed a typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311478 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-27 09:08:48 +00:00
David Tajchreber
f97cf90f64 bug #54041 - http post vars are set before processing. changed order to make example give shown output
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308511 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-20 22:41:18 +00:00
Anthony Bedford
b481e9d418 Fixed doc bug #51163. Removed references to def field, as no meaningful value is returned for it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302439 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-18 12:12:29 +00:00
Mark Wiesemann
a86495afc6 added missing word
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301806 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-02 21:45:23 +00:00
Daniel Egeberg
0640e024d4 Fixed PHP bug #51978
for file in `ack -i '\bA\s+SQL' -l`; do perl -i -pe 's/\b(a)(\s+SQL)/\1n\2/gi' $file; done


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300101 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-02 18:45:11 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Anthony Bedford
da61e9c617 Added note that mysql_affected_rows() does not count rows affacted by CASCADE. Fixes doc bug #51041
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295471 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-24 14:13:30 +00:00
Kalle Sommer Nielsen
4bc27d8766 Remove the last of the PHP3 related stuff around the manual, including the documentation for:
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +00:00
Daniel Egeberg
cd55f2597b Fixed #50536.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292375 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-20 20:38:03 +00:00
Jordi Boggiano
c83a8768d8 Fixes SQL query in example #2 of mysql_stat, fixes bug #43313
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292247 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-17 12:10:36 +00:00
Richard Quadling
daa03f0ede Remove incorrect/redundant paragraph. Fix#50491
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292209 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-16 13:54:21 +00:00
Jakub Vrana
612e5af5ec Prefer <initializer> before "default value"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291314 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:22:02 +00:00
Jakub Vrana
bc66ad1b3d Works with all queries (bug #50171)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290747 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-14 15:43:46 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26:08 +00:00
Torben Wilson
70d7a83993 Various grammatical fixes.
Addresses bug #49720.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288979 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-30 06:43:31 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Brandon Savage
05d68e4ea4 Updating mysql-insert-id documentation. More clearly explains why bigint will fail.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288440 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-18 18:04:29 +00:00
Daniel P. Brown
7e13534a9d Added deprecation warning.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287183 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-12 21:56:14 +00:00
Jakub Vrana
42fd17af6e Escape data inside queries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286556 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 12:22:29 +00:00
Nilgün Belma Bugüner
2c69dc3c07 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283826 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:13:42 +00:00
Richard Quadling
5aedae62db literal => constant for error constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282808 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 07:38:42 +00:00
Aidan Lister
1211180f71 Remove terrible "best practice" example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280614 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-16 13:43:53 +00:00
Richard Quadling
d64bba6bd4 Typo : #47356
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275573 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-11 10:50:43 +00:00
Jakub Vrana
0ef9a59224 Undocument PHP 3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273643 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 15:36:27 +00:00