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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: terry dot long at prodigy dot net
New email:
PHP Version: OS:

 

 [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: Sat May 18 11:01:34 2024 UTC