|To Mr Camilo Sperberg:|
With the followings changes, in line 156, and adding the function(), your class can run parametrized queries .
if (!$execute_query = @call_user_func_array(array($this->stmt,'bind_param'),makeValuesReferenced($arg_array)))
$refs = array();
foreach($arr as $key => $value)
$refs[$key] = &$arr[$key];
|2010-08-09 16:11:12 - In reply to message 1 from hugo simon|
|Wow, many thanks for this!! I will try this later and include it in the next version release (which will be sooner than version 2.2.0 xD) |
I really don't have a lot of experience programming PHP in Windows, so this is really appreciated.