php-windows Digest 10 Oct 2005 17:31:19 -0000 Issue 2791
Topics (messages 26390 through 26390):
cannot use $mysqli->set_charset (undefined method)
26390 by: Julien Ricard - Condenet
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hello,
here are the versions I'm using :
Apache/2.0.54 (Win32) PHP/5.1.0RC2-dev
The mysqli client api version is : 5.0.13-rc (as written on my phpinfo
output)
I can instantiate mysqli with
$mysqli = new mysqli("localhost", "root", "---", "mysql");
But I get an error when I try to set the charset with :
$mysqli->set_charset("utf8");
The error I get is :
Fatal error: Call to undefined method mysqli::set_charset() in ....
I don't know what to do. I tried to reinstall php with the latest
builds, did the same thing with mysql...
Any idea ?
Thank you
Julien
--- End Message ---