From 08ab232bdc68e496d1c2e83e3c9aaf70624437c9 Mon Sep 17 00:00:00 2001 From: Daniel Convissor Date: Fri, 13 Mar 2009 14:46:22 +0000 Subject: [PATCH] * Round up to whole version regarding connect_error oddities. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277107 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/mysqli/connect-error.xml | 6 +++--- reference/mysqli/mysqli/connect.xml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/mysqli/mysqli/connect-error.xml b/reference/mysqli/mysqli/connect-error.xml index 2b19075265..616353128d 100644 --- a/reference/mysqli/mysqli/connect-error.xml +++ b/reference/mysqli/mysqli/connect-error.xml @@ -1,5 +1,5 @@ - + mysqli->connect_error @@ -39,7 +39,7 @@ connect_error) { die('Connect Error: ' . $mysqli->connect_error); } @@ -74,7 +74,7 @@ Connect Error: Access denied for user 'fake_user'@'localhost' (using password: Y The mysqli->connect_error property only works properly - as of PHP versions 5.2.9 and 5.3.0beta1. + as of PHP versions 5.2.9 and 5.3.0. diff --git a/reference/mysqli/mysqli/connect.xml b/reference/mysqli/mysqli/connect.xml index c8bae1f7f5..a8617eecf0 100644 --- a/reference/mysqli/mysqli/connect.xml +++ b/reference/mysqli/mysqli/connect.xml @@ -1,5 +1,5 @@ - + mysqli::__construct @@ -153,7 +153,7 @@ $mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db'); /* * This is the "official" OO way to do it, - * BUT $connect_error was broken until PHP 5.2.9 and 5.3.0beta1. + * BUT $connect_error was broken until PHP 5.2.9 and 5.3.0. */ if ($mysqli->connect_error) { die('Connect Error (' . $mysqli->connect_errno . ') ' @@ -162,7 +162,7 @@ if ($mysqli->connect_error) { /* * Use this instead of $connect_error if you need to ensure - * compatibility with PHP versions prior to 5.2.9 and 5.3.0beta1. + * compatibility with PHP versions prior to 5.2.9 and 5.3.0. */ if (mysqli_connect_error()) { die('Connect Error (' . mysqli_connect_errno() . ') '