php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #34493 mysqli_stmt_bind_param
Submitted: 2005-09-13 19:55 UTC Modified: 2005-09-20 14:21 UTC
From: terry dot long at prodigy dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: windows xp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 43 = ?
Subscribe to this entry?

 
 [2005-09-13 19:55 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-13 19:57 UTC] terry dot long at prodigy dot net
I'm using the procedural code style, not the object style, at this point.  thanks
 [2005-09-20 14:21 UTC] vrana@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 04:01:29 2024 UTC