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  


 [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.