Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #10384 error in setCharset
Submitted: 2007-03-15 10:23 UTC
From: mila76 Assigned: quipo
Status: Closed Package: MDB2_Driver_mysqli (version 1.4.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 38 + 26 = ?

 
 [2007-03-15 10:23 UTC] mila76 (Emanuel Milani)
Description: ------------ real_escape is wrong used mysql and not mysqli version parameter order Test script: --------------- wrong: $query = "SET NAMES '".mysql_real_escape_string($charset, $connection)."'"; fixed: $query = "SET NAMES '".mysqli_real_escape_string($connection, $charset)."'"; Actual result: -------------- php error

Comments

 [2007-03-15 10:45 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.