#34798 [Opn->Fbk]: mysqli->set_charset is an undefined method

From: Date: Mon, 10 Oct 2005 05:48:55 +0000
Subject: #34798 [Opn->Fbk]: mysqli->set_charset is an undefined method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86308@lists.php.net to get a copy of this message
ID: 34798 Updated by: sniper@php.net Reported By: jarnix at jarnix dot com -Status: Open +Status: Feedback Bug Type: MySQLi related Operating System: Windows XP SP2 PHP Version: 5.1.0RC1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-09 23:36:29] jarnix at jarnix dot com Description: ------------ set_charset method is undefined Reproduce code: --------------- $mysqli = new mysqli("localhost", "root", "", "mysql"); $mysqli->set_charset("utf8"); Expected result: ---------------- <nothing> Actual result: -------------- Fatal error: Call to undefined method mysqli::set_charset() (...) on line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34798&edit=1

« previous php.bugs (#86308) next »