|
|
| |
1. running on windows machine:solution |
|
Reply |
|
|
 hugo simon | 2010-08-09 16:01:03 |
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)))
function makeValuesReferenced($arr){
$refs = array();
foreach($arr as $key => $value)
$refs[$key] = &$arr[$key];
return $refs;
}
|
| |
2. Re: running on windows machine:solution |
|
Reply |
|
|
 Camilo Sperberg | 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.
Greetings ! |
|