Upon being motivated by a “PHP style critique” discussion at the WebDeveloper.com forums, I dug around the manual page for mysqli_stmt::bind_result(), and noticed an interesting suggestion for the use of the call_user_func_array() function in combination with the bind_result() method (see the user note by “hamidhossain”).
The essence of the technique is to use call_user_func_array() to call [...]
Archive of posts tagged MySQL
MySQLi: Avoid Explicitly Listing Every Column in bind_result()
UTF8 in PHP and MySQL
The intent of this article is to tie together some things I’ve learned to do in order to get my web apps to “play nicely” with the UTF8 character set. Before we go any further, let me state that I do not claim to be an expert on this; the following is simply a collection [...]
