ID: 34493 Updated by: [EMAIL PROTECTED] Reported By: terry dot long at prodigy dot net -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: windows xp PHP Version: Irrelevant New Comment:
mysqli_stmt_bind_param() can't be called with an array. Example in bug #31096 shows how to use call_user_func_array() to pass all the parameters together. Take a look at call_user_func_array() documentation to understand it. Previous Comments: ------------------------------------------------------------------------ [2005-09-13 19:57:21] terry dot long at prodigy dot net I'm using the procedural code style, not the object style, at this point. thanks ------------------------------------------------------------------------ [2005-09-13 19:55:32] terry dot long at prodigy dot net Description: ------------ The on-line documentation has two simple examples but needs two added complete samples to show how to pass arrays to this function instead of the typed in $variable names. I know that it's possible because Bug report #31096 has a response with a short (I don't understand how it works enough to get my code to work correctly) code snipet. Expected result: ---------------- Examples that show how to use arrary's of variables with the mysqli_stmt_bind_param and mysqli_execute functions. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34493&edit=1