View Single Post
Old 08-06-2013, 05:11 PM  
valeriyCE
Registered User
 
Industry Role:
Join Date: Jul 2013
Posts: 82
It has to do with binding arrays that are not declared

$params = array('ss', 'stan', 'Stanley');
$tmp = array();
foreach($params as $key => $value) $tmp[$key] = &$params[$key];
call_user_func_array(array($stmt, 'bind_param'), $tmp);

use this style.
valeriyCE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote