Untitled
public text v1 · immutablefunction nick_mysqli_prepare_execute()
{
$args = func_get_args();
$db = array_shift($args);
$sql_stmt = array_shift($args);
if ($check = $db->prepare ($sql_stmt)) {
call_user_func_array(array($check,'bind_param'), $args);
$check->execute();
#while ($all[] = $check->fetch_assoc()) {}
while ($row = $check->fetch_array()){ $all[] = $row; }
return $all;
}
}